Files
Tomek Zawadzki d3bfde2179 Unblock React Compiler for 4 components with deferred ref access
React Compiler special-cases the `ref` prop, but a ref-derived value built
during render and passed anywhere else reads as accessing a ref. Deferring the
work into the callback keeps it out of render; mergeRefs already returned a
fresh function per render, so this adds no identity churn.

- SearchInput, useDraggableScrollView: defer the mergeRefs call
- merge-refs: return RefCallback<T> rather than Ref<T>, which is what it has
  always returned, so the deferred call sites typecheck
- TextField: web({...}) hides a ref-reading handler from the compiler, so use a
  plain IS_WEB conditional
- ValuePropositionPager: setPage moves out of render into an effect

Skipped components: 125 -> 121.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-25 17:05:26 +02:00
..
2026-03-25 00:50:26 -07:00