Skip to content

nextjs/no-before-interactive-script-outside-document Correctness

What it does

Prevent usage of next/script's beforeInteractive strategy outside of pages/_document.js.

Why is this bad?

Example

javascript

References

Released under the MIT License.