mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Changelog: [Internal] Move Bridge-only constants into a separate file - Move Bridge only constants from RCTBridge.h into RCTBridgeConstants.h. - Move shared constants from RCTBridge.h into RCTConstants.h. This way, new architecture does not need to import RCTBridge.h just for the constants. Reviewed By: sammy-SC Differential Revision: D39085713 fbshipit-source-id: 40177cbed72a326b40ec448c98751d1dd3464504
19 lines
1.1 KiB
Objective-C
19 lines
1.1 KiB
Objective-C
/*
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import "RCTBridgeConstants.h"
|
|
|
|
NSString *const RCTBridgeWillReloadNotification = @"RCTBridgeWillReloadNotification";
|
|
NSString *const RCTBridgeFastRefreshNotification = @"RCTBridgeFastRefreshNotification";
|
|
NSString *const RCTBridgeWillDownloadScriptNotification = @"RCTBridgeWillDownloadScriptNotification";
|
|
NSString *const RCTBridgeDidDownloadScriptNotification = @"RCTBridgeDidDownloadScriptNotification";
|
|
NSString *const RCTBridgeWillInvalidateModulesNotification = @"RCTBridgeWillInvalidateModulesNotification";
|
|
NSString *const RCTBridgeDidInvalidateModulesNotification = @"RCTBridgeDidInvalidateModulesNotification";
|
|
NSString *const RCTBridgeWillBeInvalidatedNotification = @"RCTBridgeWillBeInvalidatedNotification";
|
|
NSString *const RCTBridgeDidDownloadScriptNotificationSourceKey = @"source";
|
|
NSString *const RCTBridgeDidDownloadScriptNotificationBridgeDescriptionKey = @"bridgeDescription";
|