Custom Hooks in React.js - Create & Publish a React Hook to NPM Tutorial

Published: 14 April 2020
on channel: Colby Fayock
2,231
32

Learn how to create a custom hook in React using an easy to use starter template useCustomHook. We'll walk through creating the hook, setting up an example page, and publishing your new hook to npm.

👕 Want your own Brazil CBF shirt?
https://www.redbubble.com/i/t-shirt/B...

🗒️ Read More
https://www.freecodecamp.org/news/how...

🔔 Subscribe for more tech and developer videos
https://www.youtube.com/colbyfayock?s...

🐦 Get updates straight to your Twitter @colbyfayock
  / colbyfayock  

✉️ Or a newsletter right to your inbox!
https://www.colbyfayock.com/newsletter/

💝 Sponsor me for more free content like this!
https://github.com/sponsors/colbyfayock

👨‍🚀 Brought to by colbyfayock.com
https://www.colbyfayock.com

🎥 Want to know what A/V equipment I use?
https://www.colbyfayock.com/what-i-use

🧰 More Resources

useCustomHook: React Hook Starter
https://github.com/colbyfayock/use-cu...

usePlaceCage
https://github.com/colbyfayock/use-pl...

Destructuring the Fundamentals of React Hooks
https://www.colbyfayock.com/2019/04/d...

Introducing Hooks
https://reactjs.org/docs/hooks-intro....

Hooks API Reference
https://reactjs.org/docs/hooks-refere...

PlaceCage
https://www.placecage.com/

🎼 Music
JNGS - Palmtrees
unminus.com

#colbyfayock #npm #reacthooks #reactjs #webdevelopment