Joseph Savona and GitHub
eed6a0cf63
[compiler] Feature flag cleanup ( #35825 )
...
Cleans up feature flags that do not have an active experiment and which
we don't currently plan to ship, one commit per flag. Notable removals:
* Automatic (inferred) effect dependencies / Fire: abandoned due to
early feedback. Shipped useEffectEvent which addresses some of the
use-cases.
* Inline JSX transform (experimented, not a consistent win)
* Context selectors (experimented, not a sufficient/consistent win given
the benefit the compiler already provides)
* Instruction Reordering (will try a different approach)
To decide which features to remove, I looked at Meta's internal repos as
well as eslint-pugin-react-hooks to see which flags were never
overridden anywhere. That gave a longer list of flags, from which I then
removed some features that I know are used in OSS.
2026-02-20 12:29:12 -08:00
lauren and GitHub
ad84fe484d
[forgive] Various fixes to prepare for internal sync ( #34928 )
...
Fixes a few small things:
- Update imports to reference root babel-plugin-react-compiler rather
than from `[...]/src/...`
- Remove unused cosmiconfig options parsing for now
- Update type exports in babel-plugin-react-compiler accordingly
2025-10-21 10:57:18 -04:00
lauren and GitHub
f9fd1a759b
[forgive][ez] Tweak logging ( #33011 )
...
Just some tweaks
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com ). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/33011 ).
* #33012
* __->__ #33011
* #33010
2025-04-24 13:30:16 -04:00
lauren and GitHub
5f29f8c6f6
[forgive] Don't look up user babel configs ( #33010 )
...
Projects with existing babel config files may confuse the LSP, so
explictly opt out of looking them up.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com ). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/33010 ).
* #33012
* #33011
* __->__ #33010
2025-04-24 13:29:56 -04:00
lauren and GitHub
69aaf25687
[compiler] Add missing copyrights ( #33004 )
...
`yarn copyright`
2025-04-23 22:04:44 -04:00
2be9c91d9f
[forgive] Polish decorations ( #33002 )
...
Polishes up decorations.
Co-authored-by: Jordan Brown <[email protected] >
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com ). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/33002 ).
* #33004
* #33003
* __->__ #33002
Co-authored-by: Jordan Brown <[email protected] >
2025-04-23 21:55:15 -04:00
cc1a749200
[forgive] Don't crash if we couldn't compile ( #33001 )
...
Compiler shouldn't crash Forgive if it can't compile (eg parse error due
to being mid-typing).
Co-authored-by: Jordan Brown <[email protected] >
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com ). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/33001 ).
* #33002
* __->__ #33001
* #33000
---------
Co-authored-by: Jordan Brown <[email protected] >
2025-04-23 21:32:11 -04:00
ad583bf17d
[forgive] Add code action to remove dependency array ( #33000 )
...
Adds a new codeaction event in the compiler and handler in forgive. This
allows you to remove a dependency array when you're editing a range that
is within an autodep eligible function.
Co-authored-by: Jordan Brown <[email protected] >
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com ). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/33000 ).
* #33002
* #33001
* __->__ #33000
Co-authored-by: Jordan Brown <[email protected] >
2025-04-23 21:31:57 -04:00
53ae82d119
[forgive] Refactor inferred deps ( #32999 )
...
Refactor.
Co-authored-by: Jordan Brown <[email protected] >
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com ). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32999 ).
* #33002
* #33001
* #33000
* __->__ #32999
Co-authored-by: Jordan Brown <[email protected] >
2025-04-23 21:27:22 -04:00
e7f0636a32
[forgive] Hacky first pass at adding decorations for inferred deps ( #32998 )
...
Draws basic decorations for inferred deps on hover.
Co-authored-by: Jordan Brown <[email protected] >
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com ). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32998 ).
* #33002
* #33001
* #33000
* #32999
* __->__ #32998
Co-authored-by: Jordan Brown <[email protected] >
2025-04-23 21:21:44 -04:00
lauren and GitHub
e4edc83641
[forgive] Add basic codelens provider ( #32476 )
...
Adds a first codelens provider for successfully compiled functions. A
later PR will add an actual command that will fire when the codelens is
clicked

2025-02-25 18:55:49 -05:00
lauren and GitHub
7267408ad9
[forgive] Init ( #31918 )
...
Init basic LSP. At the moment the extension doesn't do anything
interesting, but it does compile successfully.
2025-02-25 12:19:11 -05:00
lauren and GitHub
feb58e5505
[forgive] Scaffold workspaces ( #31917 )
...
Basic workspace setup for Forgive.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com ). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/31917 ).
* #31918
* #31927
* __->__ #31917
2025-02-25 12:08:46 -05:00