From cd47de8abffc26dfefa106a12ef00c57b5a32229 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Fri, 25 May 2018 17:31:18 +0000 Subject: [PATCH] Deploy website Deploy website version based on 4e1360fdbd9e7f665b719c178327105e7b7b5c8f --- docs/next/asyncstorage.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/next/asyncstorage.html b/docs/next/asyncstorage.html index 09cbffe339e..ac366fd797b 100644 --- a/docs/next/asyncstorage.html +++ b/docs/next/asyncstorage.html @@ -16,6 +16,9 @@

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.

On iOS, AsyncStorage is backed by native code that stores small values in a serialized dictionary and larger values in separate files. On Android, AsyncStorage will use either RocksDB or SQLite based on what is available.

The AsyncStorage JavaScript code is a simple facade that provides a clear JavaScript API, real Error objects, and simple non-multi functions. Each method in the API returns a Promise object.

+

Importing the AsyncStorage library:

+
import { AsyncStorage } from "react-native"
+

Persisting data:

_storeData = async () => {
   try {