https://github.com/codecademy/use-selector-with
Small utility for react-redux's useSelector that allows passing args.
https://github.com/codecademy/use-selector-with
react react-redux testing typescript useselector
Last synced: 8 months ago
JSON representation
Small utility for react-redux's useSelector that allows passing args.
- Host: GitHub
- URL: https://github.com/codecademy/use-selector-with
- Owner: Codecademy
- License: mit
- Created: 2021-09-27T15:42:25.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-21T22:37:27.000Z (over 4 years ago)
- Last Synced: 2024-11-10T12:47:38.301Z (over 1 year ago)
- Topics: react, react-redux, testing, typescript, useselector
- Language: TypeScript
- Homepage:
- Size: 164 KB
- Stars: 5
- Watchers: 10
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# use-selector-with
[](https://prettier.io)

[](http://badge.fury.io/js/use-selector-with)
[](https://gitter.im/Codecademy/use-selector-with?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Monorepo for the following two packages:
- [use-selector-with](https://npmjs.com/package/use-selector-with): Small utility for react-redux's `useSelector` that allows passing args.
- [eslint-plugin-use-selector-with](https://npmjs.com/package/eslint-plugin-use-selector-with): ESLint plugin to enforce using `useSelectorWith` when reasonable.
See [use-selector-with.md > Why?](./packages/use-selector-with#why) for why this selector is useful! ✨
## Development
```shell
yarn
yarn lerna bootstrap
yarn compile -w
```
## Contribution Guidelines
We'd love to have you contribute!
Check the [issue tracker](https://github.com/Codecademy/use-selector-with/issues) for issues labeled [`accepting prs`](https://github.com/Codecademy/use-selector-with/labels/status%3A%20accepting%20prs) to find bug fixes and feature requests the community can work on.
If this is your first time working with this code, the [`good first issue`](https://github.com/Codecademy/use-selector-with/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22+) label indicates good introductory issues.
Please note that this project is released with a [Contributor Covenant](https://www.contributor-covenant.org).
By participating in this project you agree to abide by its terms.
See [CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md).