clean-state
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -63,2 +63,15 @@ export interface Module { | ||
export type EffectProps<T, S = any, R = Record<string, any>> = { | ||
payload: T; | ||
state: S; | ||
rootState: R; | ||
dispatch?: any; | ||
}; | ||
export type ReduerProps<T, S = any, R = Record<string, any>> = { | ||
payload: T; | ||
state: S; | ||
rootState: R; | ||
}; | ||
export type Plugin = (modules: any, on: any) => void; | ||
@@ -65,0 +78,0 @@ |
{ | ||
"name": "clean-state", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.min.js", |
@@ -29,3 +29,4 @@ <p align="right"> | ||
7. TypeScript friendly and automatically deduces module types. | ||
8. Perfect support for RN. | ||
8. Support for Redux - Tool debugging tool. | ||
9. Perfect support for RN. | ||
@@ -67,3 +68,3 @@ ## Installation | ||
import user from './user' | ||
import bootstrapfrom 'clean-state' | ||
import bootstrap from 'clean-state' | ||
@@ -196,2 +197,7 @@ const modules = { user } | ||
## Debugging | ||
You can use [cs-redux-devtool](https://github.com/freezeYe/cs-redux-devtool) to debug your project and track historical data changes. | ||
<p align="center"> | ||
<img width="400px" src="https://github.com/freezeYe/assets/blob/master/redux_devtool.png" /> | ||
</p> | ||
@@ -198,0 +204,0 @@ ## Notice |
15942
180
211