JSPM

redux-storage-engine-localforage-immutablejs

0.2.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q30244F
  • License MIT

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

Package Exports

  • redux-storage-engine-localforage-immutablejs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (redux-storage-engine-localforage-immutablejs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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.