A framework for building React MobX application.
quick start
const app = // modelapp // viewconst Counter = return <div> <span>modelscountercontent</span> <button onClick=modelscounterincr>+</button> <button onClick=modelscounterdecr>-</button> </div> // routerconst route = <BrowserRouter> <Route path='/' component=Counter /> </BrowserRouter>app // mount the appappstartdocument
Documents
Posts
Plugins
- cans-plugin-http HTTP (axios) plugin for cans
- cans-plugin-modal-store cans plugin for creating modal stores
Examples
👀 See more examples in cans-example
Build
$ yarn$ yarn test # unit-test$ yarn run example # run example
See Also
License
MIT License