Managing React State
By Cory House
Course info



Course info



Description
There are many types of state. In this course, Managing React State, you’ll learn how to effectively declare state to create rich, interactive React apps. First, you’ll discover eight ways to handle state in React apps. Next, you’ll explore how to manage each of these types of states including route state, component state, and refs in both function and class components. Finally, you’ll learn when to consider global state via context and third party state libraries. When you’ve finished this course, you’ll have the skills to build complex, interactive React apps in the real world.
Section Introduction Transcripts
Course Overview
Hi, I'm Corey House, and welcome to my course, Managing React State. I'm the founder and principal consultant of ReactJSConsulting.com. React apps aren't just read‑only, they're interactive. So a typical React app declares literally dozens of pieces of state, and in React there's a surprising number of options for effectively handling this state, including plain state, refs, context, reducers, web storage, hooks, and more. In this course, we're going to build a realistic online store using modern state management approaches. Some of the key topics that we'll cover include patterns for declaring, setting, and reliably deriving state, sharing data and logic between components, managing loading, error, and form validation state, tracking un‑rendered state and server state, and, most importantly, how to choose between these different state management approaches. By the end of this course, you'll know how to use a variety of React state management approaches and you'll understand when each makes sense. You'll be prepared to build complex, interactive React apps using modern techniques. Before beginning the course, you should be familiar with React fundamentals such as function components, JSX, and props. I hope you'll join me on this journey to learn modern React state management techniques with the Managing React State course, at Pluralsight.