react-restated
v1.3.0
Published
a tiny and powerful state manager for react, like rematch
Downloads
25
Maintainers
Readme
React Restated
A tiny and powerful state manager for React. like rematch or dva. 中文手册
Features
- Tiny && Effective: Using new Context API of React v16.3+, Just 8kb after compressed.
- Simple && Direct: no more
actionTypes
, no moredispatch
, action dispatch changes auto. - Friendly: Organized by Models like rematch, combined the effects and reducers.
- Middleware: Just the same as redux, support
redux-devtools
out of box!
Examples
View examples in codeSandbox:
Install
npm i --save react-restated
Changelogs
- 1.2.1:
this.commit
将会默认dispatch一个$COMMIT(TYPE)
的action - 1.2.0: 将store于Provider解耦,支持SSR