Commit 0c10ed5
committed
SY-3833-1: Add Pluto Flux Selector Primitive
Adds Flux.createSelector, a generic React hook factory for subscribing
to scoped flux store state with referential stability. Supports custom
equality, args memoization via useMemoDeepEqual, and version-bumped
caching to prevent infinite re-renders when select returns derived
objects.1 parent 9ec21e9 commit 0c10ed5
3 files changed
Lines changed: 547 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
0 commit comments