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

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay