Skip to content

Commit 3810678

Browse files
committed
Update for 8.x
1 parent fcbf11f commit 3810678

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

versioned_docs/version-8.x/nesting-navigators.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -971,13 +971,13 @@ function RootStack() {
971971

972972
## Best practices when nesting
973973

974-
We recommend to reduce nesting navigators to minimal. Try to achieve the behavior you want with as little nesting as possible. Nesting has many downsides:
974+
We recommend reducing navigator nesting to a minimum. Try to achieve the behavior you want with as little nesting as possible. Nesting has many downsides:
975975

976976
- It results in deeply nested view hierarchy which can cause memory and performance issues in lower end devices
977-
- Nesting same type of navigators (e.g. tabs inside tabs, drawer inside drawer etc.) might lead to a confusing UX
977+
- Nesting the same type of navigator (e.g. tabs inside tabs, drawer inside drawer etc.) might lead to a confusing UX
978978
- With excessive nesting, code becomes difficult to follow when navigating to nested screens, configuring deep link etc.
979979

980-
Think of nesting navigators as a way to achieve the UI you want rather than a way to organize your code. If you want to create separate group of screens for organization, instead of using separate navigators, you can use the [`Group`](group.md) component for dynamic configuration or [`groups` property](static-configuration.md#groups) for static configuration.
980+
Think of nesting navigators as a way to achieve the UI you want rather than a way to organize your code. If you want to create separate groups of screens for organization, instead of using separate navigators, you can use the [`Group`](group.md) component for dynamic configuration or [`groups` property](static-configuration.md#groups) for static configuration.
981981

982982
<Tabs groupId="config" queryString="config">
983983
<TabItem value="static" label="Static" default>

0 commit comments

Comments
 (0)