From 1c2475125eea77f2b38e5cfe078851655b50405f Mon Sep 17 00:00:00 2001
From: Sarah Rainsberger <5098874+sarah11918@users.noreply.github.com>
Date: Fri, 10 Jan 2025 12:20:58 -0400
Subject: [PATCH] reorder for structure
---
src/content/docs/en/guides/upgrade-to/v5.mdx | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/content/docs/en/guides/upgrade-to/v5.mdx b/src/content/docs/en/guides/upgrade-to/v5.mdx
index f4d36c90aa3df..08d75ab2ee316 100644
--- a/src/content/docs/en/guides/upgrade-to/v5.mdx
+++ b/src/content/docs/en/guides/upgrade-to/v5.mdx
@@ -531,14 +531,14 @@ In the event of route collisions, where two routes of equal route priority attem
-In Astro v4.x, `experimental.directRenderScript` was an optional flag to directly render `` as declared in `.astro` files (including existing features like TypeScript, importing `node_modules`, and deduplicating scripts). This strategy prevented scripts from being executed in places where they were not used.
+In Astro v4.x, `experimental.directRenderScript` was an optional flag to directly render `` as declared in `.astro` files (including existing features like TypeScript, importing `node_modules`, and deduplicating scripts). This strategy prevented scripts from being executed in places where they were not used. Additionally, conditionally rendered scripts were previously implicitly inlined, as if an `is:inline` directive was automatically added to them.
-Astro 5.0 removes this experimental flag and makes this the new default behavior in Astro: scripts are no longer hoisted to the ``, multiple scripts on a page are no longer bundled together, and a `