pixiebrix-extension icon indicating copy to clipboard operation
pixiebrix-extension copied to clipboard

Verify selectors that return fresh array/object references are cached

Open twschiller opened this issue 1 year ago • 0 comments

Context

  • Selectors that return fresh array/objects (including literals, or using filter/map) must be cached using createSelector to avoid unnecessary re-renders
  • See initial discussion: https://github.com/pixiebrix/pixiebrix-extension/pull/9191#discussion_r1790295509

twschiller avatar Oct 08 '24 03:10 twschiller