DEV Community


use-custom-hook: Custom React Hook starter

colbyfayock profile image Colby Fayock Updated on ・1 min read

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!

Discussion (0)

Editor guide