Chapter 12: Rematch Performance Improvements and Best Practices
In this chapter, we'll learn about how to apply performance improvements to our React and Rematch applications, and how these performance optimizations are commonly solved using memoization and common sense. We'll also learn what it means to virtualize and normalize data, and how we can measure our applications to see where our bottlenecks are located.
We'll learn about all these concepts through real examples, including the Amazhop website that we've built throughout the book. We'll also investigate which optimizations are appropriate for adding to our website and how we can track any performance issue on any website that we make with React.
In this chapter, we'll cover the following topics:
- Before optimizing, measure
- Debouncing and throttling
- Virtualizing large lists
- React optimizations
- Redux selectors with deep comparison
- Redux batching
- Data normalization...