reselect icon indicating copy to clipboard operation
reselect copied to clipboard

Ideas for improving Reselect caching / performance

Open markerikson opened this issue 2 years ago • 1 comments

Some interesting cache-related implementations:

  • https://sourcegraph.com/github.com/signalapp/Signal-Desktop@2a4166a8360e02e01f343723a65de6f7cb748701/-/blob/ts/util/memoizeByRoot.ts
  • https://github.com/facebook/react/blob/0b974418c9a56f6c560298560265dcf4b65784bc/packages/react/src/ReactCache.js#L55-L126

markerikson avatar Jan 08 '23 22:01 markerikson

Lenz is contributing this WeakCache implementation to one of Apollo Client's internal dependencies. Worth looking at this at some point just to see what it is:

  • https://github.com/benjamn/optimism/pull/599

markerikson avatar Nov 02 '23 23:11 markerikson