Re: [csswg-drafts] [css-view-transitions-2] Distinguish between old and new DOM in CSS (#9424)

For us the `updateTheDOMSomehow` is almost always a route transition, so `history.pushState`. We certainly could use a similar syntax to what you're describing, but it also would mean folks would need to honor a pattern like `data-current="search"`, and when you start scoping smaller like an image that becomes harder to manage overall.

Yeah I prefer the actual use case of search to details, it's one of our most common flows!

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


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

Received on Friday, 29 September 2023 21:39:29 UTC