redux-storage-engine-localforage-immutablejs

0.2.0 • Public • Published

Redux Storage engine: localForage - Immutable.js

Redux Storage engine powered by localForage with support for saving Immutable.js data.

This package is unstable and experimental.

Credits

Based on redux-storage-engine-localforage. Copyright (c) 2016 Mathieu Dutour. MIT License.

FAQ

What's difference between redux-storage-engine-localforage and this package?

IndexedDB can't save Immutable.js type (e.g. Map) as is, it can only save plain Javascript object. Unlike redux-storage-engine-localforage, this package converts the Immutable.js type to plain JS before saving it so you can saving Immutable.js type to IndexedDB. Caveat: Redux Storage will load the data as plain JS type, not Immutable.js type. It's your responsibility as developer to convert the loaded data back to its Immutable.js type.

Dependencies (0)

    Dev Dependencies (11)

    Package Sidebar

    Install

    npm i redux-storage-engine-localforage-immutablejs

    Weekly Downloads

    1

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    5.54 kB

    Total Files

    5

    Last publish

    Collaborators

    • 1nd