dillon1000/react
Commit
Browse files [compiler] Emit CompileSkip before CompileSuccess event (#33012)
Previously the CompileSuccess event would emit first before CompileSkip, so the lsp's codelens would incorrectly flag skipped components/hooks (via 'use no memo') as being optimized. --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/33012). * __->__ #33012 * #33011 * #33010
Changed paths1 file
First-parent comparisoncompiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…