React Compiler
preserve-manual-memoization
Lint diagnostic for preserving existing manual memoization semantics when optimizing.
Formal Syntax & Structure
react syntaxreact
const result = useMemo(calculate, [input]);Working Example
Example Snippetreact
const result = useMemo(calculate, [input]);