How to persist store in ignite bowser

521 Views Asked by At

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 ?

1

There are 1 best solutions below

0
Prince Agrawal On BEST ANSWER

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