Add onLoad gotcha note to basic-features doc (#36261)
#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 https://github.com/vercel/next.js/issues/33191.
Showing
Please
register
or
sign in
to comment