diff --git a/docs/api-reference/next/script.md b/docs/api-reference/next/script.md index 49fe558c6b163..79c83341f8876 100644 --- a/docs/api-reference/next/script.md +++ b/docs/api-reference/next/script.md @@ -46,6 +46,8 @@ The loading strategy of the script. A method that returns additional JavaScript that should be executed after the script has finished loading. +> **Note: `onLoad` can't be used with the `beforeInteractive` loading strategy.** + The following is an example of how to use the `onLoad` property: ```jsx