SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

[compiler] Prevent local state source variables from depending on other state

Summary:
When a local state is created sometimes it uses a `prop` or even other local state for its initial value.

This value is only relevant on first render so we shouldn't consider it part of our data flow

Test Plan:
Added tests
J
Jorge Cabiedes Acosta committed
c881b81a4e6543816207a87af3f3b020a692d9e0
Parent: a0e4f1b