Next.js · Senior · Question 30 of 75

When should you enable reactCompiler in Next.js 16?

Explanation

In Next.js 16, React Compiler support is stable but disabled by default. The compiler relies on Babel, so builds get slower. It skips components that break the rules of React - the ESLint plugin helps find them.

Further reading

Problem with a question

Next.js · Senior · question 30

Test yourself

Take the Next.js · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz