mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-04 21:09:21 +08:00
Gate Hot Loading
Summary: public Until we support this fature on OSS, don't show the menu option. Reviewed By: vjeux Differential Revision: D2791198 fb-gh-sync-id: 11b66d467c1ab784bbf549b893d0a3abd69e2741
This commit is contained in:
committed by
facebook-github-bot-6
parent
4ffb241647
commit
e43e2146d9
@@ -318,7 +318,10 @@ static void RCTInstallHotLoading(RCTBridge *bridge, RCTJSCExecutor *executor)
|
||||
};
|
||||
|
||||
RCTInstallJSCProfiler(_bridge, strongSelf->_context.ctx);
|
||||
RCTInstallHotLoading(_bridge, strongSelf);
|
||||
|
||||
if ([self.bridge.delegate respondsToSelector:@selector(isHotLoadingEnabled)] && [self.bridge.delegate isHotLoadingEnabled]) {
|
||||
RCTInstallHotLoading(_bridge, strongSelf);
|
||||
}
|
||||
|
||||
for (NSString *event in @[RCTProfileDidStartProfiling, RCTProfileDidEndProfiling]) {
|
||||
[[NSNotificationCenter defaultCenter] addObserver:strongSelf
|
||||
|
||||
Reference in New Issue
Block a user