Menu
Urgent
React2Shell security update

NEXTJS_NO_BEFORE_INTERACTIVE

Last updated March 4, 2025

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?

supported.