diff --git a/.changeset/empty-experts-unite.md b/.changeset/empty-experts-unite.md new file mode 100644 index 000000000000..78d0f2e86377 --- /dev/null +++ b/.changeset/empty-experts-unite.md @@ -0,0 +1,27 @@ +--- +'astro': minor +--- + +Persistent DOM and Islands in Experimental View Transitions + +With `viewTransitions: true` enabled in your Astro config's experimental section, pages using the `` routing component can now access a new `transition:persist` directive. + +With this directive, you can keep the state of DOM elements and islands on the old page when transitioning to the new page. + +For example, to keep a video playing across page navigation, add `transition:persist` to the element: + +```astro + +``` + +This `