Technical requirements
To run the code snippets in this chapter, you need a React environment—for example, Create React App (https://create-react-app.dev) or CodeSandbox (https://codesandbox.io).
You are expected to have basic knowledge of React and React hooks, especially the concept around the component tree (https://reactjs.org/docs/components-and-props.html) and the useState
hook (https://reactjs.org/docs/hooks-reference.html#usestate).
The code in this chapter is available on GitHub at https://github.com/PacktPublishing/Micro-State-Management-with-React-Hooks/tree/main/chapter_02.