Docs: missing documentation for react compiler "compilationMode: annotation" #71994
-
What is the documentation issue?How does the annotation works? In the react website there is the From my testing, "use no memo" works by just setting this:
The annotation mode in next.js makes me think that it is more an opt-in feature than the Is there any context that might help us understand?No Does the docs page already exist? Please link to it.https://nextjs.org/docs/canary/app/api-reference/next-config-js/reactCompiler |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Just found the annotation mode in the react 19 docs: https://19.react.dev/learn/react-compiler. So, to opt-in we should use the |
Beta Was this translation helpful? Give feedback.
Just found the annotation mode in the react 19 docs: https://19.react.dev/learn/react-compiler. So, to opt-in we should use the
use memo
directive.