-
Notifications
You must be signed in to change notification settings - Fork 2
Support concurrent rendering in React 18 #127
Copy link
Copy link
Open
Labels
perfperformance optimizationperformance optimization
Description
- use useSyncExternalStore in internal
useSubscriptionhook (use provided shim so that react peer dependency does not need to be bumped) - internal
useSubscriptionhook should return value for use in affected hook/component (rather than accessing atom value directly) - remove
FieldDependenciesAtomand extendFieldStateAtomto contain values for branch errors and branch isValidating Atom.fusemay need to be extend with optional equality function so that branch erros / branch isValidating atoms can be created without extra re-renders
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
perfperformance optimizationperformance optimization