rxjs-hooks:RxJS的React钩子

时间:2021-02-05 17:02:09
【文件属性】:
文件名称:rxjs-hooks:RxJS的React钩子
文件大小:148KB
文件格式:ZIP
更新时间:2021-02-05 17:02:09
react rxjs observable rxjs6 react-hooks RxJS的React挂钩 安装 使用npm: $ npm i --save rxjs-hooks 或纱线: $ yarn add rxjs-hooks 快速浏览 import React from "react" ; import ReactDOM from "react-dom" ; import { useObservable } from "rxjs-hooks" ; import { interval } from "rxjs" ; import { map } from "rxjs/operators" ; function App ( ) { const value =
【文件预览】:
rxjs-hooks-master
----.gitignore(1KB)
----package.json(2KB)
----tslint.json(2KB)
----src()
--------__test__()
--------tsconfig.json(35B)
--------use-event-callback.ts(3KB)
--------index.ts(70B)
--------use-observable.ts(2KB)
--------type.ts(164B)
----playground()
--------index.tsx(1KB)
----jest.config.js(502B)
----tsconfig.json(542B)
----.github()
--------workflows()
----tools()
--------webpack.config.js(2KB)
--------test-setup.js(74B)
----README.md(9KB)
----index.html(288B)
----.circleci()
--------config.yml(2KB)
----.npmignore(82B)
----yarn.lock(330KB)

网友评论