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 {