Skip to Content
React Projects - Second Edition
book

React Projects - Second Edition

by Roy Derks
April 2022
Intermediate to advanced
384 pages
6h 9m
English
Packt Publishing
Content preview from React Projects - Second Edition

Chapter 5: Building a Personal Shopping List Application Using Context and Hooks

State management is a very important part of modern web and mobile applications and is something that React is very good at. Handling state management in React applications can be quite confusing, as there are multiple ways you can handle the current state of your application. The projects you created in the first four chapters of this book didn't focus on state management too much, something that will be investigated much more in this chapter.

This chapter will show how you can handle state management in React by creating an application state that is accessible from every component. Before React v16.3, you needed third-party packages to handle state in React, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Full-Stack React Projects - Second Edition

Full-Stack React Projects - Second Edition

Shama Hoque
React and React Native - Fourth Edition

React and React Native - Fourth Edition

Adam Boduch, Roy Derks, Mikhail Sakhniuk

Publisher Resources

ISBN: 9781801070638Supplemental Content