NEXTJS_NO_BEFORE_INTERACTIVE
Conformance is available on Enterprise plans
The default loading strategy for is optimised for fast page loads.
Setting the strategy to forces the script to load before any Next.js code and before hydration occurs, which delays the page from becoming interactive.
For further reading, see:
This rule will catch the following code.
This rule flags any usage of for review. If approved, the exception should be added to the allowlist.
Was this helpful?