Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add onLoad gotcha note to basic-features doc (vercel#36261)
vercel#33097 adds a note to the `Script` documentation explaining that `onLoad` cannot be used with the `beforeInteractive` strategy. However, this note was missing in the [Basic Features](https://nextjs.org/docs/basic-features/script) documentation, causing some confusion. This adds the note there too. This will hopefully fix a lot of confusion noted in vercel#33191.
- Loading branch information