Re: [csswg-drafts] [css-view-transitions-2] Allow synchronous snapshots (#9400)

@noamr From https://developer.chrome.com/docs/web-platform/view-transitions/#async-dom-updates-and-waiting-for-content

> The transition won't be started until the promise fulfills. **During this time, the page is frozen**, so delays here should be kept to a minimum.

Am I not right in thinking the page is visually frozen from the moment `startViewTransition` fires its callback?

I need to play around with `use-view-transitions` but if this is true surely `updateState` is blocking whether or not it's wrapped in `flushSync`.

Given this, I am looking to, with this PR, move as much work outside of `startViewTransition` as possible.

-- 
GitHub Notification of comment by mattgperry
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9400#issuecomment-1735383390 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 26 September 2023 11:53:36 UTC