没有合适的资源?快使用搜索试试~ 我知道了~
inference:与Redux相似的调度员
共73个文件
js:64个
html:3个
map:1个
需积分: 5 0 下载量 108 浏览量
2021-05-04
01:23:50
上传
评论
收藏 106KB ZIP 举报
温馨提示
推理 与类似的调度员。 为什么? 与并驾齐驱。 它消除了Redux的集中状态,而是直接将更新传递给侦听器。 它通过将规则应用于操作并组合结果来生成更新,其方式与Redux使用reducer的方式几乎相同。 如果您喜欢React和Inference,则可能会喜欢 。 重新布线Redux 有一系列补充视频: 更正 examples.html文件已移至index.html 。 该examples目录es6目录已更名为example 。 在Reaction的forceUpdate()方法中检查是否存在更新已明确。 Reaction的DisplayElement类的spliceChildren()方法已得到纠正。 处理render()方法中更新的最好方法是使用以下模式。 请注意,对于update参数,没有空对象的默认值。 这保证了初始JSX仅被渲染一次,假设render()方法仅被调用
资源推荐
资源详情
资源评论
收起资源包目录
inference-master.zip (73个子文件)
inference-master
.gitignore 76B
package.json 1KB
src
createDispatcher.js 742B
index.js 139B
examples.js 165B
example
inferenceApp.js 308B
reduxApp.js 515B
inferenceApp
component
filterLink.js 927B
todoListItem.js 387B
addTodo.js 801B
todoListItems.js 867B
todoApp.js 1020B
footer.js 447B
todoList.js 200B
rule
addTodo.js 293B
setVisibilityFilter.js 355B
dispatcher.js 167B
constants.js 239B
rule.js 252B
reduxApp
component
provider.js 360B
filterLink.js 1KB
todoListItem.js 435B
addTodo.js 810B
todoListItems.js 2KB
todoApp.js 280B
footer.js 447B
todoList.js 200B
reducer
visibilityFilter.js 345B
todos.js 901B
redux.js 960B
constants.js 281B
reducer.js 247B
combineRules.js 341B
bin
main.js 364B
license.txt 3KB
.swcrc 163B
examples.js 151KB
README.md 9KB
example
reduxApp.html 646B
inferenceApp.html 1KB
index.html 387B
lib
createDispatcher.js 3KB
index.js 1KB
examples.js 946B
example
inferenceApp.js 1KB
reduxApp.js 2KB
inferenceApp
component
filterLink.js 4KB
todoListItem.js 4KB
addTodo.js 3KB
todoListItems.js 8KB
todoApp.js 7KB
footer.js 2KB
todoList.js 1KB
rule
addTodo.js 1KB
setVisibilityFilter.js 2KB
dispatcher.js 1000B
constants.js 1KB
rule.js 1KB
reduxApp
component
provider.js 4KB
filterLink.js 7KB
todoListItem.js 2KB
addTodo.js 3KB
todoListItems.js 9KB
todoApp.js 2KB
footer.js 2KB
todoList.js 1KB
reducer
visibilityFilter.js 2KB
todos.js 4KB
redux.js 4KB
constants.js 2KB
reducer.js 1KB
combineRules.js 1KB
examples.js.map 94KB
共 73 条
- 1
资源评论
Compass宁
- 粉丝: 31
- 资源: 4643
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功