Unverified Commit 3f2b4bc9 authored by Victor Boucher's avatar Victor Boucher Committed by GitHub

docs(basic-features/script): update script version history (#40263)

Made an addition to the version history within the Script component
docs. In the docs there are examples where the Script component is being
used within a _document.js/tsx file, but it does not get mentioned that
this is only supported from version 12.2.2 onwards.

## Documentation / Examples 
- [x] Make sure the linting passes by running `pnpm lint`
Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
parent 0a093c0e
...@@ -20,8 +20,9 @@ description: Next.js helps you optimize loading third-party scripts with the bui ...@@ -20,8 +20,9 @@ description: Next.js helps you optimize loading third-party scripts with the bui
<summary><b>Version History</b></summary> <summary><b>Version History</b></summary>
| Version | Changes | | Version | Changes |
| --------- | ------------------------- | | --------- | ------------------------------------------------------------------------- |
| `v12.2.4` | `onReady` prop added. | | `v12.2.4` | `onReady` prop added. |
| `v12.2.2` | Allow `next/script` with `beforeInteractive` to be placed in `_document`. |
| `v11.0.0` | `next/script` introduced. | | `v11.0.0` | `next/script` introduced. |
</details> </details>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment