@react-native-community/async-storage-backend-legacy
TypeScript icon, indicating that this package has built-in type declarations

2.0.0-rc.0 • Public • Published

Storage Backend: Legacy

An AsyncStorage storage backend, fully compatible with former version.

Installation

$ yarn add @react-native-community/async-storage-backend-legacy

Usage

import LegacyStorage from '@react-native-community/async-storage-backend-legacy';
import AsyncStorageFactory from '@react-native-community/async-storage';

type MyModel = {
  // ...your storage model
}

const legacyStorage = new LegacyStorage();

const storage = AsyncStorageFactory.create<MyModel>(legacyStorage);

// ready to use
export default storage;

License

MIT

/@react-native-community/async-storage-backend-legacy/

    Package Sidebar

    Install

    npm i @react-native-community/async-storage-backend-legacy

    Weekly Downloads

    6,676

    Version

    2.0.0-rc.0

    License

    MIT

    Unpacked Size

    100 kB

    Total Files

    24

    Last publish

    Collaborators

    • bartoszklonowski
    • titozzz
    • empyrical
    • cpojer
    • mattoakes
    • ferrannp
    • mike866
    • krizzu
    • trensik
    • thymikee
    • nicholaslee119
    • mmazzarolo
    • rewieer
    • janicduplessis
    • swaagie
    • kelset
    • johandutoit
    • vonovak
    • wojteg1337
    • naturalclar
    • connectdotz
    • pvinis
    • brentvatne
    • evanbacon
    • eliwhite
    • alloy
    • cortinico
    • safaiyeh
    • dmitryrykun
    • lunaleaps
    • wootwootwoot
    • react-native-bot
    • szymonrybczak
    • react-native-community-bot
    • okwasniewski