I thought I could manage an "Add to Cart" button. Even though I opened React with that thought, I ended up with rows of the ...
Hooks were introduced in React 16.8 in late 2018. They are functions that hook into a functional component and allow us to use state and component features like componentDidUpdate, componentDidMount, ...