Skip to content
Advertisement

How can i persist data in react native application?

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.

Advertisement

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

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement