mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
(Easy) Add RCTNotAllowedInAppWideFabric validation to the only static method in RCTUIManager, JSResponder
Summary: Changelog: [Internal][iOS] Add validation log to the only static method in RCTUIManager, JSResponder When all surfaces of an app has been fully migrated to Fabric, we don't expect `[RCTUIManager JSResponder]` to be called, so I'm expecting this API to be broken on Fabric and Bridgeless. Reviewed By: RSNara Differential Revision: D35723794 fbshipit-source-id: ec786946a33fca98c89e8cad0e0467bf45dc1735
This commit is contained in:
committed by
Facebook GitHub Bot
parent
32c704c30f
commit
23b6240b25
@@ -1656,6 +1656,8 @@ static UIView *_jsResponder;
|
||||
|
||||
+ (UIView *)JSResponder
|
||||
{
|
||||
RCTErrorNewArchitectureValidation(
|
||||
RCTNotAllowedInAppWideFabric, @"RCTUIManager", @"Please migrate this legacy surface to Fabric.");
|
||||
return _jsResponder;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user