当前位置: 首页 > 文档资料 > Anujs 中文文档 >

状态管理

优质
小牛编辑
131浏览
2023-12-01

建议使用基于redux封装出来的rematch, anujs也自带了这个框架。

rematch的官网

https://github.com/rematch/rematch

resolve: {
   alias: {
      react: "anujs",
      "react-dom": "anujs",
      rematch: "anujs/dist/Rematch.js"
      
   }
},