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
I'm trying to migrate my app from AsyncStorage to MMKV. I'm using redux toolkit and redux toolkit. I've found some resources that are using that but I'm not able to understand why they are doing it. They are creating functions set and get with key and value and they're creating a middleware and adding it to redux store. Please can someone explain to me what should I do to accomplish this thing. This my store code. Th app is not yet published, so I don't care about user data. I want to change AsyncStorage with MMKV in my app.
What are the modifications that I should do to migrate from AsyncStorage to MMKV ?
I've found this documentation https://github.com/mrousavy/react-native-mmkv/blob/master/docs/WRAPPER_REDUX.md
I understand that I should create the storage object and put it as storage in my redux persist config instead of AsyncStorage.
But why should I create all these functions ?
The text was updated successfully, but these errors were encountered:
I'm trying to migrate my app from AsyncStorage to MMKV. I'm using redux toolkit and redux toolkit. I've found some resources that are using that but I'm not able to understand why they are doing it. They are creating functions set and get with key and value and they're creating a middleware and adding it to redux store. Please can someone explain to me what should I do to accomplish this thing. This my store code. Th app is not yet published, so I don't care about user data. I want to change AsyncStorage with MMKV in my app.
What are the modifications that I should do to migrate from AsyncStorage to MMKV ?
I've found this documentation
https://github.com/mrousavy/react-native-mmkv/blob/master/docs/WRAPPER_REDUX.md
I understand that I should create the storage object and put it as storage in my redux persist config instead of AsyncStorage.
But why should I create all these functions ?
The text was updated successfully, but these errors were encountered: