Menu
Important
Stay updated on React2Shell

NEXTJS_USE_NEXT_SCRIPT

Last updated March 4, 2025

Conformance is available on Enterprise plans

This rule is available from version 1.1.0.

automatically optimizes scripts for improved performance through customizable loading strategies. By default, loads scripts so that they're non-blocking, meaning that they load after the page has loaded.

Additionally, has built in event handlers for common events such as and .

By default, this rule is disabled. Enable it by customizing Conformance.

For further reading, see:

This rule will catch the following code.

Replace any calls and elements that are caught by this rule with .


Was this helpful?

supported.