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
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,9 @@ title: Getting started
4
4
sidebar_label: Getting started
5
5
---
6
6
7
+
import Tabs from '@theme/Tabs';
8
+
import TabItem from '@theme/TabItem';
9
+
7
10
What follows within the _Fundamentals_ section of this documentation is a tour of the most important aspects of React Navigation. It should cover enough for you to know how to build your typical small mobile application, and give you the background that you need to dive deeper into the more advanced parts of React Navigation.
8
11
9
12
## Pre-requisites
@@ -124,15 +127,15 @@ There are 2 primary ways to configure the navigators:
124
127
125
128
### Static configuration
126
129
127
-
The static configuration API has reduced boilerplate and simplifies things such as TypeScript types and deep linking. If you're staring a new project or are new to React Navigation, this is the **recommended way** to set up your app.
130
+
The static configuration API has reduced boilerplate and simplifies things such as TypeScript types and deep linking. If you're starting a new project or are new to React Navigation, this is the **recommended way** to set up your app.
128
131
129
-
To get started with static configuration, continue to ["Getting started with static API"](hello-react-navigation-static.md).
132
+
Continue to ["Hello React Navigation"](hello-react-navigation.md?config=static) to start writing some code with the Static API.
130
133
131
134
### Dynamic configuration
132
135
133
-
The dynamic configuration allows for more flexibility, but requires more boilerplate and configuration.
136
+
The dynamic configuration allows for more flexibility but requires more boilerplate and configuration.
134
137
135
-
To get started with dynamic configuration, first we need to wrap your app in `NavigationContainer`. Usually you'd do this in your entry file, such as `index.js` or `App.js`:
138
+
To get started with dynamic configuration, first, we need to wrap your app in `NavigationContainer`. Usually, you'd do this in your entry file, such as `index.js` or `App.js`:
136
139
137
140
```js
138
141
import*asReactfrom'react';
@@ -151,4 +154,4 @@ In a typical React Native app, the `NavigationContainer` should be only used onc
151
154
152
155
:::
153
156
154
-
Continue to ["Getting started with dynamic API"](hello-react-navigation.md) to start writing some code.
157
+
Continue to ["Hello React Navigation"](hello-react-navigation.md?config=dynamic) to start writing some code with the Dynamic API.
0 commit comments