It looks like you might have been able to bypass this in your app, but if not, how did you approach that aspect of it?
It looks like you might have been able to bypass this in your app, but if not, how did you approach that aspect of it?
I do very much like Redux, but definitely that whole data flow layer can be intimidating. Wes Bos has a great free course on react / redux ( https://learnredux.com/ ) that can help that learning process, and there is the excellent courses on https://reacttraining.com/ if you are willing to invest a little bit of money on learning.
With all that said, you don't _need_ to use Redux or anything else to work with storing data. It might be a good idea to try manually storing with the aforementioned storage library just so you can get something working and feel like you're making progress; and then spending some time with Redux and (https://github.com/michaelcontento/redux-storage provides support for storing data with react native). Good luck!
The simplest option is just to read and write a blob of JSON using the AsyncStorage API: https://facebook.github.io/react-native/docs/asyncstorage.ht...
Another option you could try is Realm, which is commercial but has a free tier (even for commercial apps) and has a pretty simple API: https://news.realm.io/news/introducing-realm-react-native/
Another is the SQLite module which comes with Expo:
Docs: https://docs.expo.io/versions/v16.0.0/sdk/sqlite.html Example: https://github.com/expo/sqlite-example/blob/master/main.js
Even using React Native is more than I'd normally do, but I don't see a better cross-platform option right now.
It'd be really nice if I get away without Redux. It was the main pain point I had with it, everything else was fairly smooth.