Skip to content

Commit 2692baf

Browse files
author
Riccardo
authored
Rename _bridge into bridge (#3013)
1 parent 561d132 commit 2692baf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/new-architecture-app-renderer-ios.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ The way to render your app with Fabric depends on your setup. Here is an example
6666
_contextContainer->insert("ReactNativeConfig", _reactNativeConfig);
6767

6868
_bridgeAdapter = [[RCTSurfacePresenterBridgeAdapter alloc]
69-
initWithBridge:_bridge
69+
initWithBridge:bridge
7070
contextContainer:_contextContainer];
7171

72-
_bridge.surfacePresenter = _bridgeAdapter.surfacePresenter;
72+
bridge.surfacePresenter = _bridgeAdapter.surfacePresenter;
7373

7474
UIView *rootView =
75-
[[RCTFabricSurfaceHostingProxyRootView alloc] initWithBridge:_bridge
75+
[[RCTFabricSurfaceHostingProxyRootView alloc] initWithBridge:bridge
7676
moduleName:<#moduleName#>
7777
initialProperties:nil];
7878
#else

0 commit comments

Comments
 (0)