Re: [csswg-drafts] [css-view-transitions-1] How should view transitions be wired up in frame-timed update loops? (#12125)

Update: even the "obvious" way to integrate doesn't work:

1. Kick off the transition, save the update callback's promise resolver.
2. Update the page via new render.
3. Resolve the update promise.

The API really should be based on synchronous objects IMHO, at the very least, and it also needs to tolerate this kind of batching.

Mithril is not alone. Even React and Svelte are almost certainly impacted as they do the same here as we do in that they batch inputs.

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


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

Received on Wednesday, 30 April 2025 19:03:50 UTC