Рет қаралды 21,829
in this video we will learn how to use async storage (AsyncStorage ) in react native.
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.
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.
#reactNative #codersNeverQuit #asyncStorage
connect with me on -
facebook : / mukesh.phulwani.5
instagram : / mukeshphulwani66
linkedin: / mukesh-phulwani-681450152
github: github.com/muk...