
Cory House
Cory is an author, a 12 time Microsoft MVP, and international speaker. He has trained over 10,000 software developers at conferences and businesses worldwide. Cory has authored over a dozen courses on JavaScript, React, C#, testing, and web development on Pluralsight and Dometrain. He shares software development tips daily on X as @housecor.
Managing React State: 10 Years of Lessons Learned
React Day Berlin 2023Watch video: Managing React State: 10 Years of Lessons Learned
16 min
Managing React State: 10 Years of Lessons Learned
Top Content

Managing React state is hard. Why? Because there are so many options to consider! Local state, reducers, custom hooks, context, and over a dozen third-party libraries. In this session, we’ll explore the lessons I’ve learned from managing complex state in React over the last seven years. I’ll share my strategy for categorizing React state including local, server, global, derived and many more. After this session, you’ll understand how to identify different types of state, where to declare state, and how to choose between these different options.