In my Learn React Hooks workshop material, we have an exercise where we build a tic-tac-toe game using React’s useState hook (based on the official React tutorial). Here’s the Github file for the finished version of that exercise We have ...
NOTE: Before we get started, I want to make sure you know the times it’s important to optimize your context value is when a certain combination of the following conditions are met: Your context value changes frequently Your context has ...