Unverified Commit 9cda84b4 authored by Stig Kleppe-Jørgensen's avatar Stig Kleppe-Jørgensen Committed by GitHub

Improve wording (#36649)



## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [x] Improve wording
- [ ] Make sure the linting passes by running `yarn lint`
parent 87529e98
...@@ -247,7 +247,7 @@ The `id` property is required for **inline scripts** in order for Next.js to tra ...@@ -247,7 +247,7 @@ The `id` property is required for **inline scripts** in order for Next.js to tra
### Executing Code After Loading (`onLoad`) ### Executing Code After Loading (`onLoad`)
> **Note: Both `onLoad` and `onError` can't be used with the `beforeInteractive` loading strategy.** > **Note: `onLoad` and `onError` cannot be used with the `beforeInteractive` loading strategy.**
Some third-party scripts require users to run JavaScript code after the script has finished loading in order to instantiate content or call a function. If you are loading a script with either `afterInteractive` or `lazyOnload` as a loading strategy, you can execute code after it has loaded using the `onLoad` property: Some third-party scripts require users to run JavaScript code after the script has finished loading in order to instantiate content or call a function. If you are loading a script with either `afterInteractive` or `lazyOnload` as a loading strategy, you can execute code after it has loaded using the `onLoad` property:
......
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