keajs / kea-localstorage

Persist the state of your reducers in localstorage
https://kea.js.org/plugins/localstorage
MIT License
9 stars 3 forks source link

React Native #2

Closed marciobueno1 closed 3 years ago

marciobueno1 commented 6 years ago

First of all: congratulation for you good work with all kea libraries.

Question: Will this plugin support React-Native? Using AsyncStorage instead of window.storage?

marciobueno1 commented 6 years ago

Well, manually creating the store (without using getStore()), it was easy to integrate with redux-persist.

mariusandra commented 3 years ago

Closing this old issue :).

You can now use storageEngine when configuring the kea localstorage plugin to replace window.localStorage with whatever.