dillon1000/react

Commit

[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
Browse files
Changed paths1 file
First-parent comparison
M compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts Modified
Patch

Files changed

Rendering syntax-highlighted changes…