Skip to content

scratch: asset holder - #1

Closed
janicduplessis wants to merge 1 commit into
safe-area/1-event-beat-same-framefrom
safe-area/1-alt-root-view-flusher
Closed

janicduplessis wants to merge 1 commit into
safe-area/1-event-beat-same-framefrom
safe-area/1-alt-root-view-flusher

Conversation

@janicduplessis

Copy link
Copy Markdown
Owner

holds the capture for react#58528

proto-capture.mp4

experimental_flushSync now carries the surface of the emitter that
requested it (from the ShadowNodeFamily every emitter is given at
creation) through EventDispatcher and EventQueue to
EventBeat::requestSynchronous, as an optional: without a surface the
induce falls back to the run loop observer's ordinary schedule.

AppleEventBeat resolves the surface to its root view's layer via a
resolver injected by RCTSurfacePresenter from the surface registry, and
attaches the flusher layer there instead of to every visible window. A
request made from layout runs inside the commit of exactly that tree, so
the layer is guaranteed a display phase in the same cycle without
assuming all windows commit in one transaction. VirtualView's sync
flushes get the same targeting through its own emitter, unchanged.
@coderabbitai

coderabbitai Bot commented Sep 14, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant