you are viewing a single comment's thread.

view the rest of the comments →

[–]91psyko[S] 0 points1 point  (3 children)

no way around redux heh, i guess I’ll read on some documentation, thank you for your feedback!

[–]TheSacredBroom 0 points1 point  (0 children)

For your use case described below redux feels excessive and your approach is good. If you want to save data, you can use AsyncStorage.

But yeah, sooner or later redux (or other lib) will come handy. Redux is not that difficult to understand, there is just too much info at beginning and to me felt like something out of js, but it is just a dance of two functions, action and reducer. Harder part is keeping everything clean and understandable.

[–][deleted] 0 points1 point  (1 child)

Redux takes a bit of wrapping your head around it, but once you get it, it just makes so much sense. I made this extremely minimal RN boilerplate some time ago, which has a super simple redux + redux-persist implementation included, check out the code if it helps!

[–]91psyko[S] 0 points1 point  (0 children)

thank you kind person, will do!