Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/narze/react-useless
Monorepo for react hooks, mostly useless btw
https://github.com/narze/react-useless
active-project fundme hacktoberfest react react-hooks
Last synced: 4 days ago
JSON representation
Monorepo for react hooks, mostly useless btw
- Host: GitHub
- URL: https://github.com/narze/react-useless
- Owner: narze
- Created: 2022-09-30T18:06:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-26T03:46:08.000Z (11 months ago)
- Last Synced: 2024-05-01T17:21:49.233Z (7 months ago)
- Topics: active-project, fundme, hacktoberfest, react, react-hooks
- Language: TypeScript
- Homepage: https://react-useless.vercel.app
- Size: 760 KB
- Stars: 52
- Watchers: 2
- Forks: 83
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# React Useless Hooks
A collection of [React Custom Hooks](https://react.dev/learn/reusing-logic-with-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](https://discord.gg/BWAWegK2pS)! (Most will be in Thai)
## Contribution
- (Optional) ⭐️ This repository
- Create a new hook in `src/hooks` folder and a component using the hook in `src/hooks-usage` folder, use [the component template](./src/hooks-usage/_TEMPLATE.tsx).
- Alternatively 🎉, you can run `npm run create:hook ` to auto-generate your hook and hook-usage files! for example, `npm run create:hook useMore`
- If you don't know TypeScript, simply use `any` type or import `DefinitelyNotAny` 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