DEV Community

Colby Fayock
Colby Fayock

Posted on • Edited on

1 1

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

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

AWS GenAI LIVE!

GenAI LIVE! is a dynamic live-streamed show exploring how AWS and our partners are helping organizations unlock real value with generative AI.

Tune in to the full event

DEV is partnering to bring live events to the community. Join us or dismiss this billboard if you're not interested. ❤️