How and where to save the whole redux store using AsyncStorage

前端 未结 2 807
闹比i
闹比i 2021-02-13 10:53

I was wondering if I have to do something like this to save the whole store of my app using AsyncStorage in my react-native app and check if it exists when the app is starting.<

2条回答
  •  夕颜
    夕颜 (楼主)
    2021-02-13 11:29

    Use redux-persist so you don't have to use AsyncStorage directly.

提交回复
热议问题