Search code examples
react-nativemobx-reactmobx-state-treemobx-persist

How to persist store in ignite bowser


I am using ignite bowser boilerplate for my react native application. It uses mobx-state-tree for state management. Every time I restart my app it resets the store. Is there any way to persist store in ignite bowser ?


Solution

  • Fixed it, needed to import AsyncStorage from '@react-native-async-storage/async-storage' in utils file.