top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is Asynstorage in React Native ? What is the use ?

0 votes
432 views
What is Asynstorage in React Native ? What is the use ?
posted Jan 2, 2019 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

AsyncStorage is a simple, unencrypted, asynchronous, persistent, key-value storage system that is global to the app. It should be used instead of LocalStorage.

It is recommended that you use an abstraction on top of AsyncStorage instead of AsyncStorage directly for anything more than light usage since it operates globally.

import { AsyncStorage } from "react-native"
answer Jan 21, 2019 by Aarati Mahajan
...