Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update usage paragraph of next/script
onLoad
(vercel#36453)
Changing the paragraph to not include `beforeInteractive` as one of the possible use cases of `onLoad`. *Update:* Added docs for `onError` in the API reference of `next/script`. @housseindjirdeh does `onError` also has the same limitation or is this only for `onLoad`? Closes vercel#33402 ## 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 - [x] 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] Make sure the linting passes by running `yarn lint`
- Loading branch information