From 1cb581fd8aac8a97ac147efb33f42b838a6ec908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Mon, 31 Oct 2022 12:52:49 -0700 Subject: [PATCH] Update script.md --- docs/basic-features/script.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/basic-features/script.md b/docs/basic-features/script.md index 4ce8ed96cd13e4c..74363e76d94cc4d 100644 --- a/docs/basic-features/script.md +++ b/docs/basic-features/script.md @@ -90,6 +90,8 @@ Although the default behavior of `next/script` allows you load third-party scrip Refer to the [`next/script`](/docs/api-reference/next/script.md#strategy) API reference documentation to learn more about each strategy and their use cases. +> **Note**: Once a `next/script` component has been loaded by the browser, it will stay in the DOM and client-side navigations won't re-execute the script. + ### Offloading Scripts To A Web Worker (experimental) > **Note:** The `worker` strategy is not yet stable and does not yet work with the [`app/`](https://beta.nextjs.org/docs/routing/defining-routes) directory. Use with caution.