1×
Become a member
to unlock all features
Autoplay

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

    reactReact
    ^16.8.6

    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.