Manage Application State in Gatsby with React Hooks

InstructorJason Lengstorf

Share this video with your friends

Send Tweet

Our app is going to require sharing information across multiple components. To make this easier to reason about, we're going to use React Context and custom hooks.

In this lesson, we'll create a custom hook that will create a React Context we can use to share state across our application.