Skip to content

Commit 3e168da

Browse files
committed
Doc grammar
1 parent 1391586 commit 3e168da

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,13 +239,13 @@ When nesting multiple stack navigators, we recommend nesting at most 2 stack nav
239239

240240
## Best practices when nesting
241241

242-
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:
242+
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:
243243

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

248-
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, consider doing something like this:
248+
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, consider doing something like this:
249249

250250
```js
251251
// Define multiple groups of screens in objects like this

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -280,13 +280,13 @@ function App() {
280280

281281
## Best practices when nesting
282282

283-
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:
283+
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:
284284

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

289-
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.
289+
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.
290290

291291
<samp id="nesting-best-practices" />
292292

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

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

10481048
## Best practices when nesting
10491049

1050-
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:
1050+
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:
10511051

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

1056-
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.
1056+
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.
10571057

10581058
<Tabs groupId="config" queryString="config">
10591059
<TabItem value="static" label="Static" default>

0 commit comments

Comments
 (0)