hooked-components:受React Hooks方法启发的Ember定制组件

时间:2021-02-04 22:12:31
【文件属性】:
文件名称:hooked-components:受React Hooks方法启发的Ember定制组件
文件大小:154KB
文件格式:ZIP
更新时间:2021-02-04 22:12:31
ember emberjs functional-programming ember-addon functional-reactive-programming 挂钩组件 Addon曾经通过现有的公共API在Ember应用中试验React Hooks风格的API。 安装 ember install hooks-component 该插件提供2个不同的API React方式挂钩实现(总是在重渲染时调用组件函数)。 Ember方式挂钩实现(仅在第一次渲染时才调用组件函数)。 在React-Way中的用法 hooks-component API支持公共的React HooksAPI 内置挂钩 useEffect >就像在React API中一样 useState >就像在React API中一样 useLayoutEffect >就像在React API
【文件预览】:
hooked-components-master
----ember-cli-build.js(494B)
----testem.js(581B)
----yarn.lock(347KB)
----.eslintrc.js(1003B)
----.npmignore(359B)
----jsconfig.json(141B)
----types()
--------@ember()
--------dummy()
--------ember()
----.ember-cli(280B)
----.travis.yml(1KB)
----tsconfig.json(1023B)
----config()
--------environment.js(90B)
--------ember-try.js(2KB)
----LICENSE.md(1KB)
----README.md(8KB)
----addon()
--------index.ts(773B)
--------.gitkeep(0B)
--------component-managers()
----.editorconfig(368B)
----tests()
--------integration()
--------index.html(1KB)
--------test-helper.js(248B)
--------helpers()
--------dummy()
--------unit()
----.gitignore(355B)
----app()
--------.gitkeep(0B)
--------component-managers()
----index.js(63B)
----.watchmanconfig(37B)
----.eslintignore(221B)
----package.json(2KB)
----vendor()
--------.gitkeep(0B)

网友评论