Sep 3, 2018 · 1 min read
On a previous project, we were using reselect. Reselect is complicated to type if you have many nullables. What we end up using is an immutable record with getters on a recent project. There is no cache layer in selectors, but the pure components are not rerendering if the props for primitive types or immutable data structures. Records are great in Redux since you can type them you can type all getters strictly and use defaults for nullables.
