Extract a Custom Hook into its own Module with create-react-hook

Joe Previte
InstructorJoe Previte

Share this video with your friends

Send Tweet

After writing your own custom hook, you can extract it into it’s own module using create-react-hook. This will let you bundle it as an npm package to easily share between projects and with the open source community. We'll extract our useStarWarsQuote from the previous video in it's own module.