@store-sync/redux-middleware
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

reduxMiddleware

Syncs your redux store with a store-sync backend

Usage

import { createStore, combineReducers, applyMiddleware } from 'redux'
import storeSync from '@store-sync/redux-middleware'
import userReducer from './user-reducer'

const sync = storeSync({
  url: 'wss://yourbackend.com/'
})

const userStore = createStore(
  userReducer,
  applyMiddleware(sync)
)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    1

Package Sidebar

Install

npm i @store-sync/redux-middleware

Weekly Downloads

1

Version

0.0.5

License

MIT

Unpacked Size

16.9 kB

Total Files

20

Last publish

Collaborators

  • joaojeronimo