react-native/React
Martín Bigio 0f9c88514c Remove `hot` query string attribut when HL is disabled
Summary:
public

By doing this we fix 2 problems:

1. We use the same url, both the first time the simulator starts with Hot Loading disabled (no `hot` attribute), and after HL has been enabled and then disabled ('hot=false'). By doing so, the packager will rebuild more than one bundle as file changes. We could have ignored this attribute on the packager but I'd rather not contaminate the server with it and instead make the clients send only 2 types of URLs.

2. The code on `RCTBatchedBridge.m` that decides whether or not to enable HMR does so by looking at presence of the query string parameter `hot`. If the parameter is present, even when it's false, it will try to enable HL, which is wrong.

Reviewed By: nicklockwood

Differential Revision: D2807512

fb-gh-sync-id: 728b680c2383c328d8967d34c10e7a6288e455ac
2016-01-06 11:55:33 -08:00
..
Base Remove `hot` query string attribut when HL is disabled 2016-01-06 11:55:33 -08:00
Executors Add context executor API for sync hooks 2016-01-05 08:00:38 -08:00
Layout updated css-layout and fixed callsites 2015-12-21 10:18:41 -08:00
Modules Remove `hot` query string attribut when HL is disabled 2016-01-06 11:55:33 -08:00
Profiler revert D2773664 2016-01-04 23:52:51 -08:00
React.xcodeproj Refactor hot loading implementation on iOS 2016-01-04 10:40:32 -08:00
Views Map follow user location 2016-01-06 11:00:34 -08:00