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
b4921db235e0cf5b0a5b069d162aab0ff0a3643b
Parent: 92ac4e8