UNPKG

react-use-subject

Version:

A React hook for managing and subscribing to state changes using RxJS Subjects.

43 lines 982 B
{ "name": "react-use-subject", "version": "1.0.3", "description": "A React hook for managing and subscribing to state changes using RxJS Subjects.", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "type": "module", "keywords": [ "rxjs", "react", "hooks", "Observables", "Observable", "Subject", "useSubject" ], "author": "mozhiguang.0920@bytedance.com", "license": "MIT", "files": [ "dist" ], "dependencies": { "react": "^17.0.2", "rxjs": "^7.8.2" }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.0", "@rollup/plugin-node-resolve": "^15.0.0", "@rollup/plugin-typescript": "^11.0.0", "@types/jest": "^29.5.14", "@types/react": "^19.1.5", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "rollup": "^4.0.0", "ts-jest": "^29.3.4", "typescript": "^4.9.4" }, "scripts": { "build": "rollup -c", "test": "jest" } }