Files
react-native/Libraries
Alexandre Kirszenberg c787866d64 Clearer HMR error messages
Summary:
GraphNotFoundError: When the user moves the app to the background on Android, restarts the Metro server and reopens the app, since the client hasn't requested either a delta or a bundle, the graph cache of the server is empty and thus we can't compute an update for the client (what if changes happened when the metro server was down?).

RevisionNotFoundError: I didn't manage to reproduce that one. It could happen if two clients live side-by-side, requesting the exact same bundle. In the future, if we want to handle that case, we'll need to manage a list of clients listening to a single graph so that we don't try to update the same graph multiple times for a single file change.

Disconnection: Same as GraphNotFoundError, but happens when the user moves the app to the background on iOS.

Reviewed By: mjesun

Differential Revision: D12960939

fbshipit-source-id: 5ac1dc7fd12bad5e0ee8dfa5a21c112773454ee5
2018-11-12 08:49:22 -08:00
..
2018-11-01 16:22:31 -07:00
2018-11-05 05:40:35 -08:00
2018-11-05 13:57:47 -08:00
2018-10-31 01:37:26 -07:00
2018-10-31 01:37:26 -07:00
2018-11-02 00:28:28 -07:00
2018-09-27 14:18:31 -07:00
2018-11-12 08:49:22 -08:00