Redux Toolkit createSelector vs React-Redux useSelector: Handling Stale Cache Results
Goal Understand how stale cache outputs from createSelector can affect UI updates driven by useSelector , and identify the decision point around memoization equality strategy. Constraints Selectors memoize based on reference equality of input values. When an input selector returns a new object or array that is shallowly equal to the previous one, createSelec