Skip to content

Commit 9f51617

Browse files
author
Riccardo Cipolleschi
committed
Use empty dicts instead of nil
1 parent 3492191 commit 9f51617

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ The way to render your app with Fabric depends on your setup. Here is an example
7474
UIView *rootView =
7575
[[RCTFabricSurfaceHostingProxyRootView alloc] initWithBridge:_bridge
7676
moduleName:<#moduleName#>
77-
initialProperties:nil];
77+
initialProperties:@{}];
7878
#else
7979
// Current implementation to define rootview.
8080
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
8181
moduleName:<#moduleName#>
82-
initialProperties:nil];
82+
initialProperties:@{}];
8383
#endif
8484
```
8585

0 commit comments

Comments
 (0)