SIGN IN SIGN UP

[Fiber] Warn for Conditional Use of use() Based on Cache (#37104)

This is a cherry-pick of https://github.com/react/react/pull/34030, with
a feature flag gating and a test coverage.

The flag is disabled by default and dynamic for FB builds to understand
first how noisy this warning can be.

---

See https://github.com/react/react/pull/34030 for more context on the
change.
R
Ruslan Lesiutin committed
cbb046ab92b66dfc4ad1e1ea30d4b8beae6f2c24
Parent: 0f42eac
Committed by GitHub <noreply@github.com> on 7/31/2026, 2:24:10 PM