From c434893878e66f81df4d14b3789b97e92442853c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Bigio?= Date: Thu, 21 Jan 2016 14:04:15 -0800 Subject: [PATCH] Hot Loading should be disabled by default Summary: public Although the feature itself is gated, once the user is on the experiment we want to make sure hot loading starts disabled up until the feature is enabled through the dev menu. Reviewed By: javache Differential Revision: D2850070 fb-gh-sync-id: 66e69e152806d3bb01985afe20827e3b9cffeb41 --- React/Modules/RCTDevMenu.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React/Modules/RCTDevMenu.m b/React/Modules/RCTDevMenu.m index a9e92e6cf..c3a47cb27 100644 --- a/React/Modules/RCTDevMenu.m +++ b/React/Modules/RCTDevMenu.m @@ -267,7 +267,7 @@ RCT_EXPORT_MODULE() self.shakeToShow = [_settings[@"shakeToShow"] ?: @YES boolValue]; self.profilingEnabled = [_settings[@"profilingEnabled"] ?: @NO boolValue]; self.liveReloadEnabled = [_settings[@"liveReloadEnabled"] ?: @NO boolValue]; - self.hotLoadingEnabled = [_settings[@"hotLoadingEnabled"] ?: @YES boolValue]; + self.hotLoadingEnabled = [_settings[@"hotLoadingEnabled"] ?: @NO boolValue]; self.showFPS = [_settings[@"showFPS"] ?: @NO boolValue]; self.executorClass = NSClassFromString(_executorOverride ?: _settings[@"executorClass"]); }