component-store
A way to manage react dumb component's state, then you can use it in plain, redux or mobx app.
Install
npm install component-store
Usage
normal style
; Component defaultStoreApp
decorator style
; @Component ;
Api
-
store: Function(default store, onChange name='onChange')
-
onChange: Function(nextStore)