redux-replicate-memory
Replicator for redux-replicate
designed to synchronously persist the state of redux
stores in memory. Useful for universal rendering of replicator query results and optimistic queries.
Table of contents
Installation
npm install redux-replicate-memory --save
Usage
Use with redux-replicate
.
react-redux-provide
Example using // src/replication.js ;; themereplication = reducerKeys: 'themeName' replicator: memory;
compose
Example using ;;;; const initialState = wow: 'such storage' very: 'cool'; const key = 'superCoolStorageUnit';const reducerKeys = true;const replicator = memory;const replication = ;const create = createStore;const store = ;