DEV Community

Colby Fayock
Colby Fayock

Posted on • Updated on

use-custom-hook: Custom React Hook starter

Make spinning up and publishing a new custom React Hook easy!

github.com/colbyfayock/use-custom-hook

How to get started

  • git clone https://github.com/colbyfayock/use-custom-hook [directory]
  • cd [directory]
  • yarn install && yarn setup
  • cd [hook-name] && npm publish

What you get

  • A ready-to-use hook source
  • A next.js example / demo page
  • Scripts ready to compile both

Want more?

Let me know what you think this is missing.

Enjoy!

github.com/colbyfayock/use-custom-hook

Get more content straight your inbox!

Top comments (1)

Collapse
 
diwanshumidha profile image
Diwanshu Midha

I have made shadcn like cli for React custom hooks so that you can install hooks locally
use-hooks-cli.vercel.app/ pls visit it once