Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
A Hook is a function that lets you "hook into" React state and lifecycle features from function components. The most useful built-in Hook is useState(), which allows you to do what its name implies: use React state in a function component.
<div class="secondary box">
<strong>Note: </strong> You're able to use Hooks starting in React 16.8, and they are entirely "opt-in". You can start usi...