72

GitHub - Raathigesh/hooks.guide: Collection of React hooks curated by the commun...

 5 years ago
source link: https://github.com/Raathigesh/hooks.guide
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

banner.PNG

All 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):

3108160?v=4
Raathigeshan Kugarajan

? ? ? ? 4931048?v=4
Vivek Nayyar

? ? ? 15332326?v=4
Piotr Pietrzak

?

This project follows the all-contributors specification. Contributions of any kind welcome!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK