You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: versioned_docs/version-7.x/getting-started.md
+7-13Lines changed: 7 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,24 +166,18 @@ In `AndroidManifest.xml`, set `android:enableOnBackInvokedCallback` to `false` i
166
166
167
167
When using React Navigation, you configure [**navigators**](glossary-of-terms.md#navigator) in your app. Navigators handle transitions between screens and provide UI such as headers, tab bars, etc.
168
168
169
-
:::info
170
-
171
-
When you use a navigator (such as stack navigator), you'll need to follow that navigator's installation instructions for any additional dependencies.
172
-
173
-
:::
174
-
175
169
There are 2 ways to configure navigators:
176
170
177
-
### Static configuration
171
+
<divclass="featured-actions">
178
172
179
-
The static configuration API lets you write your navigation configuration in an object. This reduces boilerplate and simplifies TypeScript types and deep linking. Some aspects can still be changed dynamically.
The dynamic configuration API lets you write your navigation configuration using React components that can change at runtime based on state or props. This offers more flexibility but requires significantly more boilerplate for TypeScript types, deep linking, etc.
181
+
Component-based configuration with significantly more boilerplate. Supports dynamic screen lists and navigator options.
188
182
189
-
Continue to ["Hello React Navigation"](hello-react-navigation.md?config=dynamic) to start writing some code with the dynamic API.
Copy file name to clipboardExpand all lines: versioned_docs/version-8.x/getting-started.md
+7-13Lines changed: 7 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,24 +153,18 @@ In `AndroidManifest.xml`, set `android:enableOnBackInvokedCallback` to `false` i
153
153
154
154
When using React Navigation, you configure [**navigators**](glossary-of-terms.md#navigator) in your app. Navigators handle transitions between screens and provide UI such as headers, tab bars, etc.
155
155
156
-
:::info
157
-
158
-
When you use a navigator (such as stack navigator), you'll need to follow that navigator's installation instructions for any additional dependencies.
159
-
160
-
:::
161
-
162
156
There are 2 ways to configure navigators:
163
157
164
-
### Static configuration
158
+
<divclass="featured-actions">
165
159
166
-
The static configuration API lets you write your navigation configuration in an object. This reduces boilerplate and simplifies TypeScript types and deep linking. Some aspects can still be changed dynamically.
The dynamic configuration API lets you write your navigation configuration using React components that can change at runtime based on state or props. This offers more flexibility but requires significantly more boilerplate for TypeScript types, deep linking, etc.
168
+
Component-based configuration with significantly more boilerplate. Supports dynamic screen lists and navigator options.
175
169
176
-
Continue to ["Hello React Navigation"](hello-react-navigation.md?config=dynamic) to start writing some code with the dynamic API.
0 commit comments