Entradas

Simple Redux Persist configuration in React Native / Expo environment

Intro I have been working with react-persist in some React-Redux-Electron projects in the past, and today I decided to add redux-persist into my new Expo based react-native app. I must say that, if well its simple enough, I always get lost in their docs. And last year I realized that they do give you more features than they write in their page (I remember to have to dive into their code because I had to "hack" the way the information was stored in an Electron based program, and it was a pain to realize there were hardly info about some of the nice things they let you do). Anway, I am writing this entry a bit as a reference for me but just in case some other might find it useful. Redux and Persistence First a bit of memo. Redux is a javascript library that you can use to store the state of any javascript based webapp you migth want to do. Some people I know were mislead into believing that redux is a part of React, but it is not. However, React and Redux interact v...