react-hooks:React钩子用于异步迭代器生成器

时间:2021-05-17 08:36:05
【文件属性】:
文件名称:react-hooks:React钩子用于异步迭代器生成器
文件大小:175KB
文件格式:ZIP
更新时间:2021-05-17 08:36:05
react repeater async-iterators react-hooks async-generators @ repeaterjs / react-hooks React钩子用于异步迭代器/生成器。 这些功能是通过中继器实现的。 有关中继器的更多信息,请访问 。 安装 npm install @repeaterjs/react-hooks yarn add @repeaterjs/react-hooks 原料药 useResult declare function useResult < T> ( callback : ( deps : AsyncIterableIterator < TDeps> ) => AsyncIterableIterator < T> , deps ?: TDeps , ) : IteratorResult < T> | undefined ; import { useResult } fro
【文件预览】:
react-hooks-master
----.eslintrc.json(1KB)
----rollup.config.js(503B)
----stories()
--------webpack.config.js(206B)
--------config.js(273B)
--------addons.js(134B)
--------react-hooks.stories.js(3KB)
----yarn.lock(425KB)
----src()
--------react-hooks.ts(2KB)
--------__tests__()
----tsconfig.json(5KB)
----LICENSE(1KB)
----jest.config.js(6KB)
----README.md(6KB)
----.gitignore(102B)
----package.json(2KB)

网友评论