Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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