UNPKG

usemakedispatchable

Version:

a react hook that takes a set of redux reducers and returns the same input reducers but wrapped with the redux disptch function ready to call

39 lines (38 loc) 1.09 kB
{ "name": "usemakedispatchable", "version": "1.0.7", "description": "a react hook that takes a set of redux reducers and returns the same input reducers but wrapped with the redux disptch function ready to call", "main": "./dist/index.js", "type": "commonjs", "types": "./@types/index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "npx tsc", "build:dev": "npx tsc -w" }, "repository": { "type": "git", "url": "git+https://github.com/samislam/useMakeDispatchable.git" }, "keywords": [ "dispatch", "useDispatch", "redux", "redux-toolkit" ], "author": "Islam Yamor", "license": "ISC", "bugs": { "url": "https://github.com/samislam/useMakeDispatchable/issues" }, "homepage": "https://github.com/samislam/useMakeDispatchable#readme", "dependencies": { "@reduxjs/toolkit": "^1.9.3", "@samislam/checktypes": "^1.0.1", "@types/lodash": "^4.14.192", "@types/react": "^18.0.32", "lodash": "^4.17.21", "react-redux": "^8.0.5", "typescript": "^5.0.3" } }