- π 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
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
- Document the hook under
- Make a pull request
- 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.
Thanks goes to these wonderful people (emoji key):
Raathigeshan Kugarajan π» π¨ π‘ π |
Vivek Nayyar π» π‘ π |
Piotr Pietrzak π |
Ivan Mironchik π‘ |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!