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!

How to get started

  • git clone [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.


Get more content straight your inbox!

Top comments (1)

diwanshumidha profile image
Diwanshu Midha

I have made shadcn like cli for React custom hooks so that you can install hooks locally pls visit it once