T
TanStack9mo ago
sensitive-blue

Would it be possible to add View-Transitions like Astro.build?

Would it be possible to add View-Transitions as Astro.build? I think they are pretty cool feature and it would be nice to have a build-in way to do the same/similar in TTS. Also I think the DX of Astro is something it could be included somehow to TTS? :tanner:
5 Replies
uncomfortable-jade
uncomfortable-jade9mo ago
what DX in particular? also can you please summarize the view transition support in astro?
sensitive-blue
sensitive-blueOP9mo ago
Sorry I just realized Tanstack Router already supports it but not all the way. Basically, what I am missing are the Transition Directives, the possibility to add that to images for instance and have a smooth transition by keeping the image in the whole transition. Not quite sure how to explain it: https://docs.astro.build/en/guides/view-transitions/#transition-directives You can get a better picture of what I am saying in here: https://developer.chrome.com/blog/astro-view-transitions
Chrome for Developers
Astro View Transitions  |  Blog  |  Chrome for Developers
Highlight how the Astro community embraced View Transitions when Chrome was shaping up the API and the journey towards landing first-class support for it in Astro + persistent islands.
Docs
View transitions
Enable seamless navigation between pages in Astro with view transitions.
sensitive-blue
sensitive-blueOP9mo ago
In terms of the DX, I think the CLI tooling from Astro is the goat
uncomfortable-jade
uncomfortable-jade9mo ago
need more details about that, never used astro cc @Akhmadshin
quickest-silver
quickest-silver9mo ago

Did you find this page helpful?