mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
7d2f2b9e0d
Stacked on https://github.com/facebook/react/pull/30597 and whats under
it. See [this
commit](https://github.com/facebook/react/pull/30610/commits/59b4efa72377bf62f5ec8c0e32e56902cf73fbd7).
With this change, the initial values for console patching settings are
propagated from hook (which is the source of truth now, because of
https://github.com/facebook/react/pull/30596) to the UI. Instead of
reading from `localStorage` the frontend is now requesting it from the
hook. This happens when settings modal is rendered, and wrapped in a
transition. Also, this is happening even if settings modal is not opened
yet, so we have enough time to fetch this data without displaying loader
or similar UI.
DiffTrain build for [e33acfd67f](https://github.com/facebook/react/commit/e33acfd67f0003272a9aec7a0725d19a429f2460)