Patch Changes
-
57a1f5d: Stabilize the
transformcallback passed touseControlledValueinFader,Knob,Transport, andXYPadso it no longer gets a new reference every render — previously this silently invalidated the entire memoized callback chain (setRawValue→updateValue/commitValue→ context value) on any incidental re-render, forcing every subcomponent to re-render even when nothing changed.Split
Fader,Transport, andXYPadcontext into a config context (rarely changes:disabled,orientation, refs, callbacks) and a value context (changes every drag frame:value,percentage), so purely structural consumers (Track,Slider,ThumbInner,ThumbMark) stop re-rendering on every pointermove.Memoize
Knob's resolved drag config instead of rebuilding it on every render, and drop twouseMemocalls inusePointerDrag/useWheelthat were memoizing cheaper-than-the-memoization boolean checks.