You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 13, 2023. It is now read-only.
This @react-native-async-storage/async-storage dependency is hard coded. I know that AsyncStorage API from react-native is deprecated. But if sovran-react-native could transition away from using @react-native-async-storage/async-storage then that would be one less dependency to install. Especially if a user/client is using a different store persistor that is not based on @react-native-async-storage/async-storage(e.g. MMKV): segmentio/analytics-react-native#549
I know there may have been reasons for transitioning away from react-native's api AsyncStorage. If going back to that would break functionality in some scenarios, then maybe we could either:
Or make createStore's argument config of type StorageConfig be required as well as the persist sub-property of type PersistenceConfig and it's sub-property persistor. And then document how to use @react-native-async-storage/async-storage as a dependency. Could also document on how to use MMKV.
Sumit2202, reichhartd, georgeilas-tem, vladoro and isaachinman