使用React DOM渲染视图的Cycle.js驱动程序-React开发

时间:2021-05-27 15:45:00
【文件属性】:
文件名称:使用React DOM渲染视图的Cycle.js驱动程序-React开发
文件大小:13KB
文件格式:ZIP
更新时间:2021-05-27 15:45:00
React Miscellaneous 使用React DOM渲染视图的Cycle ReactDOM Cycle.js驱动程序提供驱动程序工厂makeDOMDriver包含超级脚本帮助函数,例如在Cycle DOM中npm install @ cycle / react-dom示例循环ReactDOM使用React DOM来渲染视图的Cycle.js驱动程序视图提供驱动程序工厂makeDOMDriver包含超级脚本帮助程序功能,例如在Cycle DOM中npm install @ cycle / react-dom示例从'xstream'导入xs; 从'@ cycle / run'导入{run}; 从“ @ cycle / react-dom”导入{makeDOMDriver,div,h1,button}; 函数main(sources){const inc = Symbol(); const inc $ = sources.react.select(inc).events('click'); const count $ = inc $ .fold(count => count + 1,0); C
【文件预览】:
react-dom-master
----package.json(2KB)
----readme.md(4KB)
----test()
--------jsx-factory.tsx(5KB)
--------hyperscript-helpers.ts(14KB)
--------render.ts(2KB)
--------tsconfig.json(490B)
----LICENSE(1KB)
----src()
--------hyperscript-helpers.ts(10KB)
--------jsx-factory.ts(825B)
--------index.ts(6KB)
----karma.config.js(868B)
----.npmignore(111B)
----tsconfig.json(418B)
----.gitignore(96B)

网友评论