Files
bsky-social-app/src
Tomek Zawadzki 69f9c7fc8f Unblock React Compiler for 6 components by removing render-phase ref access
- useAnimatedValue: lazy-init ref -> lazy useState initialiser
- QueryProviderInner: ref-based invariant -> useState, which render may read
- useSaveMessageDraft: mirror ref -> useEffectEvent for the message only, so
  the cleanup keeps the convo id its own effect captured
- FollowDialog: two mirror refs deleted outright, since the surrounding
  useNonReactiveCallback already captures the latest values
- OTPInput, WhoCanReply: ios()/Platform.select() wrapping a ref-reading
  callback -> a plain conditional, which the compiler can see through

Skipped components: 125 -> 119. Net 14 fewer lines.

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