In this section, you'll build a personal shopping list application that has global state management using Context and React Hooks. With this application, you can create shopping lists that you can add items to, along with their quantities and prices. The starting point of this section is an initial application that has routing and local state management already enabled.
Personal shopping list
Using the context API for state management
State management is very important, as the current state of the application holds data that is valuable to the user. In previous chapters, you've already used local state management by setting an initial state in constructor and updating this with the this.setState method. This pattern...