Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
React Projects

You're reading from   React Projects Build 12 real-world applications from scratch using React, React Native, and React 360

Arrow left icon
Product type Paperback
Published in Dec 2019
Publisher Packt
ISBN-13 9781789954937
Length 474 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Roy Derks Roy Derks
Author Profile Icon Roy Derks
Roy Derks
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Creating a Movie List Application in React 2. Creating a Progressive Web Application with Reusable React Components FREE CHAPTER 3. Build a Dynamic Project Management Board with React and Suspense 4. Build a SSR-Based Community Feed Using React Router 5. Build a Personal Shopping List Application Using Context API and Hooks 6. Build an Application Exploring TDD Using Jest and Enzyme 7. Build a Full Stack E-Commerce Application with React Native and GraphQL 8. Build a House Listing Application with React Native and Expo 9. Build an Animated Game Using React Native and Expo 10. Creating a Real-Time Messaging Application with React Native and Expo 11. Build a Full Stack Social Media Application with React Native and GraphQL 12. Creating a Virtual Reality Application with React 360 13. Other Books You May Enjoy

Build a Personal Shopping List Application Using Context API 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 haven't been focusing 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 a global state for your application that is accessible from every component. Before React v16.3, you needed third-party packages to handle global state in React, but with the renewed version of the context API, this is no longer mandatory. Also, with the release of React Hooks...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image