A collection of React Custom Hooks that should not belong anywhere.
- 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)
- (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.
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 TestsNah, that seems useful