Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/raathigesh/hooks.guide

๐Ÿ— Collection of React hooks curated by the community
https://github.com/raathigesh/hooks.guide

Last synced: 13 days ago
JSON representation

๐Ÿ— Collection of React hooks curated by the community

Awesome Lists containing this project

README

        




[![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)](#contributors)

- ๐ŸŽ Handpicked hooks to learn from or copy/paste or experiment
- ๐Ÿ’ก All code snippets are interactive
- ๐ŸŽˆ Copy snippets to clipboard with a click
- ๐Ÿ’„ Prettify the snippets


### ๐Ÿ— How do I add a new Hook?

The hooks are documented using markdown in `public/docs` directory.

To add a new hook,

- Add a new markdown file under a folder.
- Document the hook under `community` folder if the hook doesn't belong to a published npm module.
> Refer `public/docs/template.md` for documentation guide
- Make a pull request


### ๐Ÿงก Contribute

- Run `yarn install`
- Run `yarn start` to start the app in dev mode
- If you add a new markdown file, you have to go to `src/docs.js` file and just make a dummy change to trigger a webpack build. This runs the babel macro again.


### ๐Ÿ‘ฉโ€๐ŸŽจ Contributors

Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):

| [
Raathigeshan Kugarajan](https://twitter.com/Raathigesh)
[๐Ÿ’ป](https://github.com/Raathigesh/hooks.guide/commits?author=Raathigesh "Code") [๐ŸŽจ](#design-Raathigesh "Design") [๐Ÿ’ก](#example-Raathigesh "Examples") [๐Ÿ“–](https://github.com/Raathigesh/hooks.guide/commits?author=Raathigesh "Documentation") | [
Vivek Nayyar](https://www.viveknayyar.in/)
[๐Ÿ’ป](https://github.com/Raathigesh/hooks.guide/commits?author=vivek12345 "Code") [๐Ÿ’ก](#example-vivek12345 "Examples") [๐Ÿ“–](https://github.com/Raathigesh/hooks.guide/commits?author=vivek12345 "Documentation") | [
Piotr Pietrzak](https://github.com/hasparus)
[๐Ÿ“–](https://github.com/Raathigesh/hooks.guide/commits?author=hasparus "Documentation") | [
Ivan Mironchik](https://github.com/aiven715)
[๐Ÿ’ก](#example-aiven715 "Examples") |
| :---: | :---: | :---: | :---: |

This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!