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
ddaf65ec78aa35b6005e95c86a0a6fd581608923
Parent: 9ea13dd