Skip to content

v1.1.0 release, async local storage support

Compare
Choose a tag to compare
@PabloSzx PabloSzx released this 31 Jul 20:37
· 23 commits to master since this release

Support for async local storage, for example https://reactnative.dev/docs/0.53/asyncstorage or https://github.com/react-native-community/async-storage, just put the AsyncStorage object in "persistenceMethod" option.

This adds an isReady promise returned from createStore and useIsReady boolean hook from createStoreContext which will notify when they are available after getting the persistence data, if available.