Hi guys,
I’m working on a React Native app powered by a Meteor backend, and would like to ask what the community is doing for state management.
My requirements:
- Offline storage
- Data filtering / querying like Minimongo (nice to have)
I would use the react-native-meteor package and the Meteor minimongo collections directly, but I need the data to be persisted offline, even if the user closes the app and opens it again.
There’s redux-persist, which requires us to use Redux, which means that if we don’t want to lose reactivity, we’d have to make ADDED, CHANGED, and REMOVED actions/reducers for each Collection we use.
I personally prefer mobX over Redux, but mobx-persist is not very reliable. What do you recommend?