react-native/Examples/UIExplorer/UIExplorerUnitTests
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
..
OCMock [ReactNative] Move unit tests to UIExplorer 2015-06-06 13:38:34 -08:00
Info.plist Increased warning levels to -Wall -Wextra, and fixed Xcode 7 beta issues 2015-06-15 07:52:50 -08:00
LayoutSubviewsOrderingTest.m Bugfix - Typos 2015-12-15 09:09:32 -08:00
RCTAllocationTests.m Re-enable testUnderlyingBridgeIsDeallocated 2016-01-06 09:03:33 -08:00
RCTBridgeTests.m Re-enable testUnderlyingBridgeIsDeallocated 2016-01-06 09:03:33 -08:00
RCTConvert_NSURLTests.m Use mainBundle in RCTConvert to resolve asset paths 2015-11-05 09:30:36 -08:00
RCTConvert_UIFontTests.m Implemented lazy parsing of method signatures to improve TTI 2015-08-11 08:49:13 -08:00
RCTEventDispatcherTests.m Refactored module access to allow for lazy loading 2015-11-25 04:49:45 -08:00
RCTGzipTests.m Re-enable testUnderlyingBridgeIsDeallocated 2016-01-06 09:03:33 -08:00
RCTImageLoaderHelpers.h Added RCTDataRequestHandler 2015-10-19 09:07:06 -07:00
RCTImageLoaderHelpers.m Added RCTDataRequestHandler 2015-10-19 09:07:06 -07:00
RCTImageLoaderTests.m Added RCTDataRequestHandler 2015-10-19 09:07:06 -07:00
RCTImageUtilTests.m Fixed image clipping / resizing logic 2015-08-13 08:13:55 -08:00
RCTJSCExecutorTests.m Rename RCTContextExecutor to RCTJSCExecutor 2015-12-16 02:51:28 -08:00
RCTJSONTests.m Replaced RCTSparseArray with NSDictionary 2015-11-14 10:28:28 -08:00
RCTMethodArgumentTests.m Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
RCTModuleMethodTests.m Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
RCTShadowViewTests.m Return viewsWithNewFrame instead of passing it around 2015-11-17 06:37:31 -08:00
RCTUIManagerTests.m Replaced RCTSparseArray with NSDictionary 2015-11-14 10:28:28 -08:00
RCTURLUtilsTests.m Remove `hot` query string attribut when HL is disabled 2016-01-06 11:55:33 -08:00
libOCMock.a [ReactNative] Move unit tests to UIExplorer 2015-06-06 13:38:34 -08:00