redux-stator

1.0.6 • Public • Published

Redux-Stator

It is a lightweight version of Redux library

API

createStore

parameters
  • reducer function
  • initial state (conditional)
  • enhancer (conditional)
functionality

creates Store class instance to manage application state

combineReducers

parameters
  • reducers object
functionality

combines multiple reducers into one

compose

parameters
  • functions to compose
functionality

helps to compose functions to have needed call order, can be used for creation own enhancers for Store

applyMiddleware

parameters
  • middlewares
functionality

applies middlewares that will be called between action dispatch and state changes

Usage

see example

Readme

Keywords

Package Sidebar

Install

npm i redux-stator

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

7.3 kB

Total Files

7

Last publish

Collaborators

  • vlad.shyrinov