Skip to content

Conversation

@jorge-cab
Copy link
Contributor

@jorge-cab jorge-cab commented Nov 11, 2025

Summary:
We should only run one version of the validation. I think it makes sense that if the exp version is enable it takes precedence over the stable one


Stack created with Sapling. Best reviewed with ReviewStack.

@meta-cla meta-cla bot added the CLA Signed label Nov 11, 2025
@jorge-cab jorge-cab changed the title [compiler] Make experimental version of ValidateNoDerivedComputationsInEffects take precedence over stable version when [compiler] _exp version of ValidateNoDerivedComputationsInEffects take precedence over stable version when enabled Nov 11, 2025
if (
env.config.validateNoDerivedComputationsInEffects &&
!env.config.validateNoDerivedComputationsInEffects_exp
) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe merge w the _exp case below? if (config.validate...exp) { ...} else if (config.validate...) { ... }

Summary:
I missed this test case failing and now having @loggerTestOnly after landing some other PRs good to know they're not land blocking
…e precedence over stable version when enabled

Summary:
We should only run one version of the validation. I think it makes sense that if the exp version is enable it takes precedence over the stable one
jorge-cab added a commit that referenced this pull request Nov 11, 2025
Summary:
I missed this test case failing and now having @loggerTestOnly after
landing some other PRs good to know they're not land blocking

---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/35100).
* #35099
* __->__ #35100
@jorge-cab jorge-cab merged commit 5e94655 into main Nov 11, 2025
21 of 26 checks passed
github-actions bot pushed a commit that referenced this pull request Nov 11, 2025
…e precedence over stable version when enabled (#35099)

Summary:
We should only run one version of the validation. I think it makes sense
that if the exp version is enable it takes precedence over the stable
one

---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/35099).
* __->__ #35099
* #35100

DiffTrain build for [5e94655](5e94655)
github-actions bot pushed a commit that referenced this pull request Nov 11, 2025
…e precedence over stable version when enabled (#35099)

Summary:
We should only run one version of the validation. I think it makes sense
that if the exp version is enable it takes precedence over the stable
one

---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/35099).
* __->__ #35099
* #35100

DiffTrain build for [5e94655](5e94655)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants