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

preview_player
Показать описание
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?

🗒️ Read More

🔔 Subscribe for more tech and developer videos

🐦 Get updates straight to your Twitter @colbyfayock

✉️ Or a newsletter right to your inbox!

💝 Sponsor me for more free content like this!

🎥 Want to know what A/V equipment I use?

🧰 More Resources

useCustomHook: React Hook Starter

usePlaceCage

Destructuring the Fundamentals of React Hooks

Introducing Hooks

Hooks API Reference

PlaceCage

🎼 Music
JNGS - Palmtrees

#colbyfayock #npm #reacthooks #reactjs #webdevelopment
Рекомендации по теме
Комментарии
Автор

Hey can you explain how return [...new Array(count)] is working?

aryankapoor
Автор

Cool video! Is it just me or does auto import/Intellisense not work when importing a module like this? When I install the package and type usePlaceCage, I don't get any auto-suggestions... Thoughts on this?

rolandbranten