Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Janic Duplessis <janicduplessis@gmail.com>
  • Loading branch information
jacobp100 and janicduplessis committed May 21, 2020
1 parent 8e62124 commit 5dfe4ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ If you are doing server side rendering on the web you can use `initialMetrics` t

## Optimization

If you can, use `SafeAreaView`. It's implemented natively on iOS so when rotating the device, there is no delay from the asynchronous bridge. A native Android implementation is upcoming.
If you can, use `SafeAreaView`. It's implemented natively so when rotating the device, there is no delay from the asynchronous bridge.

To speed up the initial render, you can import `initialWindowMetrics` from this package and set as the `initialMetrics` prop on the provider as described in Web SSR. You cannot do this if your provider remounts, or you are using `react-native-navigation`.

Expand Down

0 comments on commit 5dfe4ea

Please sign in to comment.