mobx-deku
Package with deku component wrapper for combining deku with mobx. Exports the observer function decorator. For documentation, see the mobx project.
npm install mobx-deku
Boilerplate Projects that use mobx-deku
- Minimal MobX, deku, ES6, JSX, Hot reloading: mobx-deku-boilerplate
API documentation
observer(component)
Function that converts a Deku component definition or stand-alone render function into a reactive component. See the mobx documentation for more details.
; const TodoView = );
Full Example
;;;; @observable counter = 0; { thiscounter += 1; }const appState = ; const App = ; ;
Special thanks to mobx-react and @mattmccray's gist