Set up your local environment for this project. We'll walk you through everything you need to know to set up your local instance, and to access the code you'll be using for this project.
Hydrate the state
In this module we will hydrate the state of the game.
Handling click events
In this module we will create the handleTileClicked event handler, as well as finish wiring up the basics of the game.
Creating a custom Hook
In this module we will build a custom hook that uses the useRef, useState, and useHover hooks.
Refactor the App to use the Context API
In this module we will refactor part of the app to use the Context API. Do note that the size of this app doesn't necessarily lend itself well to using Context. We could more easily fix the issue of passing props through too many components by fixing the Apps composition. For more on this subject see the react docs: https://reactjs.org/docs/context.html#before-you-use-context
Apr 23, 2020
In this project we will use several different methods of managing the state within a mostly built application. We will cover state management within class based components as well as functional components. We will also cover the context API, as well as hooks.