Files
react-native/Libraries
Dan Abramov acd349e35a Don't show "Hot Reloading" banner on first load
Summary:
D10527979 made the "update" message sequence part of initial connection signals. But the HMR client uses this sequence as a signal to show "Hot Reloading..." bar. As a result, we were showing it on every initial load when Hot Reloading is on. This is very confusing.

As a simple fix, I now send an explicit message to mark the end of the first load. I could infer that by first update message but figured this is more explicit and less likely to break. Until we receive `connection-done`, we now don't attempt to show the "Hot Reloading..." bar.

Reviewed By: rubennorte

Differential Revision: D15936085

fbshipit-source-id: b18b6aceea6c47d919b4265e58b21fc44f77b0b3
2019-06-21 06:04:19 -07:00
..
2019-05-20 18:05:55 -07:00
2019-06-21 03:35:40 -07:00
2019-06-03 23:03:41 -07:00
2019-05-31 19:56:37 -07:00
2019-06-06 11:34:11 -07:00
2019-06-20 21:18:46 -07:00
2019-05-13 11:43:49 -07:00
2019-06-21 04:15:06 -07:00
2019-06-20 15:09:00 -07:00
2019-06-07 06:39:28 -07:00