quickapp-redux
快应用 与 Redux.js 之间的桥接层,使得当 redux.js store 数据变更时,将新数据注入快应用组件,驱动组件重新渲染。
使用示例
npm install --save quickapp-redux
// app.mix 的 <script> 标签内部 // Just a reducer example for creating storeconst store = store /**manifest**/
// components/foo/foo.js const foo = { this } { return a } // Optionally do something after map state to data, // for example update UI that are not the template driven by data. { component$page } foo
// components/foo/foo.mix 的 <script> 标签内部