react-useless
react-useless copied to clipboard
Monorepo for react hooks, mostly useless btw
React Useless Hooks
A collection of React Custom Hooks that should not belong anywhere.
Hacktoberfest
- This repo is created specifically for Hacktoberfest (obviously). If you're interested or want to contribute to my other repos, let's chat on Discord! (Most will be in Thai)
Contribution
- (Optional) ⭐️ This repository
- Create a new hook in
src/hooks
folder and a component using the hook insrc/hooks-usage
folder, use the component template.- Alternatively 🎉, you can run
npm run create:hook <YOUR_HOOK_NAME>
to auto-generate your hook and hook-usage files! for example,npm run create:hook useMore
- Alternatively 🎉, you can run
- If you don't know TypeScript, simply use
any
type or importDefinitelyNotAny
from "./types" - Try not to update other places or auto-format, it'll cause merge conflicts.
TODOs
You can help us on these meta-tasks, too.
- [ ] Add more useless hooks
- [ ] Remove useful hooks
- [ ] Publish to NPM
- [ ] Write some less-useless HTML & CSS for the home page
- [ ] ~~Add Tests~~ Nah, that seems useful