Malpaux / apollo-offline

An offline toolkit for the Apollo client
https://www.npmjs.com/package/apollo-offline
BSD 3-Clause "New" or "Revised" License
188 stars 8 forks source link

React-Native support for AsyncStorage #5

Closed luandro closed 7 years ago

luandro commented 7 years ago

Does this have support for React-Native's AsyncStorage?

vincentfretin commented 7 years ago

This lib is based on redux-offline which is based on redux-persist, so yes you can use AsyncStorage. You can look at the documentation of redux-offline and redux-persist to know how to configure it.

I use only redux-persist in my app for now, and it uses AsyncStorage.