A look at the recent Reselect 4.1 release features, and some live investigation and debugging of a reported performance bug in Reselect.
Includes:
- An overview of "selector functions" as a concept and why they're used with Redux
- Why "memoization" is useful, and how Reselect is used for memoized selectors
- Limitations in Reselect's API and features
- New features in Reselect 4.1 (cache size options, TS types)
- Investigation of a real Reselect perf bug:
- Overview of the issue report
- Using DevTool JS Perf profiles to visualize slow code
- Using Replay.io to capture full app recordings
- Stepping through app execution using Replay