How can i persist data in react native application?

Tags: , , , ,



I want to create a React Native app that persists local data and then syncs to the server. Please help me to find a way for this.

Answer

React Native provides methods to persist data. Some are provided out of the box while others are libraries you have to install and use. Below are popular methods of persisting data in React Native

  • AsyncStorage
  • React Native SQLite 2
  • Realm
  • React Native Local MongoDB

refer https://pusher.com/tutorials/persisting-data-react-native



Source: stackoverflow