We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The app is not able to persist redux state offline in iOS side of the app, but it's working perfectly fine with Android app.
import {createStore, persist} from 'easy-peasy'; import userStore from './models/user'; import customStorage from './customStorage'; const store = createStore( persist( { userStore: userStore, }, { storage: customStorage, }, ), { disableImmer: true, }, ); export default store;
import AsyncStorage from '@react-native-async-storage/async-storage'; const storage = { async getItem(key) { return JSON.parse(await AsyncStorage.getItem(key)); }, setItem(key, data) { AsyncStorage.setItem(key, JSON.stringify(data)); }, removeItem(key) { AsyncStorage.removeItem(key); }, }; export default storage;
"easy-peasy": "^5.0.3",
Any help would be appreciated, thank you!!
The text was updated successfully, but these errors were encountered:
Related to: #599
Sorry, something went wrong.
Duplicate issue #599 , thankss!.
No branches or pull requests
The app is not able to persist redux state offline in iOS side of the app, but it's working perfectly fine with Android app.
Any help would be appreciated, thank you!!
The text was updated successfully, but these errors were encountered: