Skip to content

Commit 315ab15

Browse files
committed
Tweak hello react navigation
1 parent 3e55458 commit 315ab15

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

versioned_docs/version-7.x/hello-react-navigation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ sidebar_label: Hello React Navigation
77
import Tabs from '@theme/Tabs';
88
import TabItem from '@theme/TabItem';
99

10-
In a web browser, you link to different pages using an anchor (`<a>`) tag. When the user clicks a link, the URL is pushed to the browser history stack. When the user presses the back button, the browser pops from the history stack, making the previous page active again. React Native doesn't have a built-in global history stack like a web browser -- this is where React Navigation comes in.
10+
In a web browser, clicking a link pushes a page onto the browser's history stack, and pressing the back button pops the page from the stack, making the previous page active again. React Native doesn't have a built-in history like a web browser - this is where React Navigation comes in.
1111

12-
React Navigation's native stack navigator lets your app transition between screens and manage navigation history. It works similarly to a browser's navigation state - pushing and popping items from the stack as users interact with it. The key difference is that React Navigation provides the gestures and animations you'd expect on Android and iOS.
12+
The native stack navigator keeps track of visited screens in a history stack. It also provides UI elements such as headers, native gestures, and animations to transition between screens etc. that you'd expect in a mobile app.
1313

1414
## Installing the native stack navigator library
1515

versioned_docs/version-8.x/hello-react-navigation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ sidebar_label: Hello React Navigation
77
import Tabs from '@theme/Tabs';
88
import TabItem from '@theme/TabItem';
99

10-
In a web browser, you link to different pages using an anchor (`<a>`) tag. When the user clicks a link, the URL is pushed to the browser history stack. When the user presses the back button, the browser pops from the history stack, making the previous page active again. React Native doesn't have a built-in global history stack like a web browser -- this is where React Navigation comes in.
10+
In a web browser, clicking a link pushes a page onto the browser's history stack, and pressing the back button pops the page from the stack, making the previous page active again. React Native doesn't have a built-in history like a web browser - this is where React Navigation comes in.
1111

12-
React Navigation's native stack navigator lets your app transition between screens and manage navigation history. It works similarly to a browser's navigation state - pushing and popping items from the stack as users interact with it. The key difference is that React Navigation provides the gestures and animations you'd expect on Android and iOS.
12+
The native stack navigator keeps track of visited screens in a history stack. It also provides UI elements such as headers, native gestures, and animations to transition between screens etc. that you'd expect in a mobile app.
1313

1414
## Installing the native stack navigator library
1515

0 commit comments

Comments
 (0)