Without a persistent data store our app would lose all state if killed and restarted.
React Native solves this by providing a simple storage system that is global to the app called AsyncStorage. It is recommended that you use an abstraction on top of AsyncStorage so we use sunnylqm/react-native-storage.
We've introduced a dependency here. It's possible working directly with StorageAsync would have sufficed. See alternative approach.
We need to require the new library and add to the rn-api ns
And some new storage related effects
Additionally, we could define some specs to protect us from typos calling our effects.