react-native-macos/React/CxxBridge
Mehdi Mulani b070f05926 Remove guard around isHotLoadingAvailable
Summary:
@public
With this guard removed, the functionality is the same in RCT_DEV and non-RCT_DEV builds because RCTDevSettings will return NO (or not exist) in non-RCT_DEV builds, so this code will not be run.

Pros to this approach:
- Hot loading can be enabled in a non-RCT_DEV build

Cons:
- all builds now have this extra block of code, even if it won't be run

If the cons are too strong, I can move this code into a new RCT_DEFINE that inherits from RCT_DEV. (but notably, can be overridden)

Reviewed By: shergin

Differential Revision: D17118516

fbshipit-source-id: cc6c01cca6b2450c35274eccc939c9a2123e6b93
2019-09-03 15:54:11 -07:00
..
JSCExecutorFactory.h Make JSCExecutorFactory accessible from outside 2019-01-16 10:47:44 -08:00
JSCExecutorFactory.mm Refactor JSIExecutor to use runtimeInstaller for injecting the logger instance 2019-03-25 09:12:11 -07:00
NSDataBigString.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
NSDataBigString.mm Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTCxxBridge.mm Remove guard around isHotLoadingAvailable 2019-09-03 15:54:11 -07:00
RCTCxxBridgeDelegate.h iOS changes to switch to JSI 2018-10-18 01:06:24 -07:00
RCTMessageThread.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTMessageThread.mm iOS changes to switch to JSI 2018-10-18 01:06:24 -07:00
RCTObjcExecutor.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTObjcExecutor.mm Fix 50 xcode warnings (#23553) 2019-02-20 10:17:26 -08:00