{"id":2273,"date":"2025-02-10T19:51:55","date_gmt":"2025-02-10T17:51:55","guid":{"rendered":"https:\/\/epicmarketing.co.il\/notebook\/?p=2273"},"modified":"2025-02-12T14:36:07","modified_gmt":"2025-02-12T12:36:07","slug":"react-native-navigation","status":"publish","type":"post","link":"https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/","title":{"rendered":"Navigation"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u05e0\u05d3\u05d1\u05e8 \u05e2\u05dc \u05e0\u05d9\u05d5\u05d5\u05d8 \u05e9\u05e0\u05d5\u05ea\u05df \u05dc\u05e0\u05d5 \u05d0\u05e4\u05e9\u05e8\u05d5\u05ea \u05dc\u05e2\u05d1\u05d5\u05e8 \u05d1\u05d9\u05df \u05de\u05e1\u05db\u05d9\u05dd.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e4\u05ea\u05d9\u05d7\u05d4 \u05e9\u05dc \u05d4\u05e4\u05e8\u05d5\u05d9\u05d9\u05e7\u05d8 \u05e0\u05ea\u05e7\u05d9\u05df \u05d0\u05ea <a href=\"https:\/\/reactnavigation.org\/docs\/getting-started\">react navigation<\/a>.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnpm install @react-navigation\/native\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05ea\u05e7\u05d9\u05df 2 \u05e1\u05e4\u05e8\u05d9\u05d5\u05ea \u05e0\u05d5\u05e1\u05e4\u05d5\u05ea:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnpx expo install react-native-screens react-native-safe-area-context\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05db\u05d3\u05d9 \u05dc\u05e2\u05d1\u05d5\u05d3 \u05e2\u05dd react navigation \u05e6\u05e8\u05d9\u05da \u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05e2\u05d5\u05d8\u05e4\u05ea \u05d0\u05ea \u05db\u05dc \u05d4\u05d0\u05e4\u05dc\u05d9\u05e7\u05e6\u05d9\u05d4. \u05e0\u05e9\u05d9\u05dd \u05d0\u05ea \u05e7\u05d5\u05d3 \u05d4\u05d1\u05e1\u05d9\u05e1 \u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05e4\u05ea\u05d9\u05d7\u05d4, index.jsx.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nimport { NavigationContainer } from &#039;@react-navigation\/native&#039;;\n\nexport default function App() {\n  return (\n    &lt;NavigationContainer children={undefined}&gt;\n    {\/* Rest of your app code *\/}\n    &lt;\/NavigationContainer&gt;\n  );\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05ea\u05d5\u05da NavigationContainer \u05e0\u05d5\u05db\u05dc \u05dc\u05e9\u05d9\u05dd \u05e7\u05d8\u05e2\u05d9 \u05e7\u05d5\u05d3 \u05e9\u05de\u05d5\u05e8\u05db\u05d1\u05d9\u05dd \u05de\u05e0\u05ea\u05d9\u05d1\u05d9 \u05e0\u05d9\u05d5\u05d5\u05d8 \u05e9\u05d5\u05e0\u05d9\u05dd.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Stack Navigation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e2\u05e7\u05e8\u05d5\u05df \u05e9\u05dc Stack Navigation \u05d4\u05d5\u05d0 \u05e9\u05db\u05dc \u05de\u05e1\u05da \u05de\u05d5\u05e0\u05d7 \u05e2\u05dc \u05d4\u05e7\u05d5\u05d3\u05dd \u05dc\u05d5 \u05db\u05de\u05d5 \u05e2\u05e8\u05d9\u05de\u05ea \u05e7\u05dc\u05e4\u05d9\u05dd. \u05db\u05e9\u05de\u05e0\u05d5\u05d5\u05d8\u05d9\u05dd \u05dc\u05de\u05e1\u05da \u05d7\u05d3\u05e9, \u05e7\u05dc\u05e3 \u05d7\u05d3\u05e9 \u05de\u05d5\u05e0\u05d7 \u05d1\u05e8\u05d0\u05e9 \u05d4\u05e2\u05e8\u05d9\u05de\u05d4 \u05d5\u05d0\u05dd \u05d7\u05d5\u05d6\u05e8\u05d9\u05dd \u05d0\u05d7\u05d5\u05e8\u05d4, \u05d4\u05e7\u05e3 \u05de\u05d5\u05e1\u05e8 \u05d5\u05de\u05d2\u05dc\u05d4 \u05d0\u05ea \u05d6\u05d4 \u05e9\u05d4\u05d9\u05d4 \u05e7\u05d5\u05d3\u05dd \u05d1\u05e2\u05e8\u05d9\u05de\u05d4. \u05d6\u05d4 \u05de\u05d0\u05e4\u05e9\u05e8 \u05dc\u05de\u05e9\u05ea\u05de\u05e9\u05d9\u05dd \u05dc\u05d4\u05db\u05e0\u05e1 \u05dc\u05de\u05e1\u05da \u05e9\u05dc \u05e4\u05e8\u05d8\u05d9\u05dd \u05d5\u05dc\u05d7\u05d6\u05d5\u05e8 \u05d0\u05d7\u05d5\u05e8\u05d4 \u05d1\u05e7\u05dc\u05d5\u05ea.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e9\u05d9\u05d8\u05d4 \u05d9\u05e2\u05d9\u05dc\u05d4 \u05d1\u05de\u05d9\u05d5\u05d7\u05d3 \u05d1\u05d0\u05e4\u05dc\u05d9\u05e7\u05e6\u05d9\u05d4 \u05e2\u05dd \u05de\u05d1\u05e0\u05d4 \u05dc\u05d9\u05e0\u05d0\u05e8\u05d9 \u05e9\u05dc \u05de\u05e1\u05db\u05d9\u05dd, \u05dc\u05de\u05e9\u05dc \u05db\u05e9\u05d9 \u05e9\u05e8\u05e9\u05d9\u05de\u05d4 \u05e9\u05dc \u05e4\u05e8\u05d8\u05d9\u05dd \u05d5\u05dc\u05d7\u05d9\u05e6\u05d4 \u05e2\u05dc \u05e4\u05e8\u05d9\u05d8 \u05dc\u05e2\u05d5\u05d3 \u05e4\u05e8\u05d8\u05d9\u05dd.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05e9 \u05e1\u05d5\u05d2\u05d9\u05dd \u05e9\u05d5\u05e0\u05d9\u05dd \u05e9\u05dc \u05e1\u05e4\u05e8\u05d9\u05d5\u05ea \u05e0\u05d9\u05d5\u05d5\u05d8, \u05d0\u05e0\u05d7\u05e0\u05d5 \u05e0\u05e8\u05d0\u05d4 \u05d0\u05ea <a href=\"https:\/\/reactnavigation.org\/docs\/native-stack-navigator\" target=\"_blank\" rel=\"noreferrer noopener\">Native Stack Navigator<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05ea\u05e7\u05e0\u05d4:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnpm install @react-navigation\/native-stack\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d9\u05d9\u05d1\u05d0 \u05d0\u05ea \u05d4\u05e1\u05e4\u05e8\u05d9\u05d4 \u05dc\u05e7\u05d5\u05d1\u05e5 \u05e9\u05dc\u05e0\u05d5.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nimport { createNativeStackNavigator } from &#039;@react-navigation\/native-stack&#039;;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d9\u05e6\u05d5\u05e8 \u05de\u05d5\u05e4\u05e2 \u05e9\u05dc createNativeStackNavigator \u05d5\u05d1\u05ea\u05d5\u05da \u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05e0\u05d9\u05d5\u05d5\u05d8 \u05e0\u05d7\u05d1\u05e8 \u05d1\u05d9\u05df \u05d4\u05e0\u05ea\u05d9\u05d1\u05d9\u05dd \u05dc\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d5\u05ea \u05e9\u05dc\u05d4\u05dd.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [5,9,10,11,12]; title: ; notranslate\" title=\"\">\nimport { createNativeStackNavigator } from &#039;@react-navigation\/native-stack&#039;;\nimport HomeScreen from &#039;.\/screens\/HomeScreen&#039;\nimport ProfileScreen from &#039;.\/screens\/ProfileScreen&#039;\n\nconst Stack = createNativeStackNavigator();\n\nexport default function App() {\n  return (\n      &lt;Stack.Navigator&gt;\n        &lt;Stack.Screen name=&quot;Home&quot; component={HomeScreen} \/&gt;\n        &lt;Stack.Screen name=&quot;Profile&quot; component={ProfileScreen} \/&gt;\n      &lt;\/Stack.Navigator&gt;\n  );\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05ea\u05d9\u05e7\u05d9\u05d9\u05ea app \u05e0\u05d9\u05e6\u05d5\u05e8 \u05ea\u05d9\u05e7\u05d9\u05d9\u05ea screens \u05d5\u05d1\u05ea\u05d5\u05db\u05d4 \u05e9\u05e0\u05d9 \u05e7\u05d1\u05e6\u05d9\u05dd: HomeScreen.jsx, ProfileScreen.jsx \u05d1\u05de\u05d1\u05e0\u05d4 \u05d1\u05e1\u05d9\u05e1\u05d9.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nimport React from &quot;react&quot;;\nimport { View, Text} from &quot;react-native&quot;;\n\nexport default function HomeScreen({ navigation, route }) {\n  return (\n    &lt;View&gt;\n      &lt;Text&gt;Home Screen&lt;\/Text&gt;\n    &lt;\/View&gt;\n  );\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d9\u05d9\u05d1\u05d0 \u05d0\u05ea \u05d4\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d5\u05ea \u05dc\u05e7\u05d5\u05d1\u05e5 index. \u05d0\u05dd \u05e0\u05e8\u05d9\u05e5 \u05d0\u05ea \u05d4\u05d0\u05e4\u05dc\u05d9\u05e7\u05e6\u05d9\u05d4 \u05e0\u05e8\u05d0\u05d4 \u05d0\u05ea \u05d4\u05de\u05e1\u05da \u05e9\u05dc Home. \u05d4\u05de\u05e1\u05da \u05e9\u05e0\u05e8\u05d0\u05d4 \u05d4\u05d5\u05d0 \u05d4\u05de\u05e1\u05da \u05d4\u05e8\u05d0\u05e9\u05d5\u05df \u05d1\u05e8\u05e9\u05d9\u05de\u05d4. \u05d0\u05e4\u05e9\u05e8 \u05dc\u05e9\u05e0\u05d5\u05ea \u05d0\u05ea \u05d6\u05d4 \u05e2\u05dd initialRouteName.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n&lt;Stack.Navigator initialRouteName=&#039;Profile&#039;&gt;\n  &lt;Stack.Screen name=&quot;Home&quot; component={HomeScreen} \/&gt;\n  &lt;Stack.Screen name=&quot;Profile&quot; component={ProfileScreen} \/&gt;\n&lt;\/Stack.Navigator&gt;\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Navigation between Screens<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05e9 \u05dc\u05e0\u05d5 \u05e9\u05e0\u05d9 \u05de\u05e1\u05db\u05d9\u05dd, \u05d0\u05d9\u05da \u05e2\u05d5\u05d1\u05e8\u05d9\u05dd \u05d1\u05d9\u05e0\u05d9\u05d4\u05dd?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d5\u05e1\u05d9\u05e3 \u05db\u05e4\u05ea\u05d5\u05e8 \u05d1\u05de\u05e1\u05da \u05d4\u05d1\u05d9\u05ea \u05d5\u05d1\u05dc\u05d7\u05d9\u05e6\u05d4 \u05e2\u05dc\u05d9\u05d5 \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1-navigation prop \u05db\u05d3\u05d9 \u05dc\u05e2\u05d1\u05d5\u05e8 \u05dc\u05e2\u05de\u05d5\u05d3 \u05e9\u05d0\u05e0\u05d7\u05e0\u05d5 \u05e8\u05d5\u05e6\u05d9\u05dd.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [4,9,10]; title: ; notranslate\" title=\"\">\nimport React from &quot;react&quot;;\nimport { View, Text, Button, StyleSheet } from &quot;react-native&quot;;\n\nexport default function HomeScreen({ navigation}) {\n  return (\n    &lt;View style={styles.container}&gt;\n      &lt;Text style={styles.text}&gt;Home Screen&lt;\/Text&gt;\n      &lt;Button\n        title=&quot;Go to Profile&quot;\n        onPress={() =&gt; navigation.navigate(&quot;Profile&quot;)}\n      \/&gt;\n    &lt;\/View&gt;\n  );\n}\n\nconst styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    alignItems: &quot;center&quot;,\n    justifyContent: &quot;center&quot;,\n  },\n  text: {\n    fontSize: 24,\n    fontWeight: &quot;bold&quot;,\n    marginBottom: 16,\n  },\n});\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1-hooks \u05db\u05d3\u05d9 \u05dc\u05e0\u05d5\u05d5\u05d8.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [1,6,13]; title: ; notranslate\" title=\"\">\nimport { useNavigation } from &quot;@react-navigation\/native&quot;;\nimport React from &quot;react&quot;;\nimport { View, Text, Button, StyleSheet } from &quot;react-native&quot;;\n\nexport default function HomeScreen() {\n  const navigation = useNavigation();\n\n  return (\n    &lt;View style={styles.container}&gt;\n      &lt;Text style={styles.text}&gt;Home Screen&lt;\/Text&gt;\n      &lt;Button\n        title=&quot;Go to Profile&quot;\n        onPress={() =&gt; navigation.navigate(&quot;Profile&quot;)}\n      \/&gt;\n      {\/* &lt;Text style={styles.text}&gt;Result: {route.params?.result}&lt;\/Text&gt; *\/}\n    &lt;\/View&gt;\n  );\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1-navigation prop \u05db\u05de\u05d5 \u05d1\u05d3\u05d5\u05d2\u05de\u05d0 \u05d4\u05e8\u05d0\u05e9\u05d5\u05e0\u05d4 \u05e7\u05dc \u05d5\u05d0\u05d9\u05df \u05e6\u05d5\u05e8\u05da \u05d1\u05d9\u05d9\u05d1\u05d5\u05d0 \u05e0\u05d5\u05e1\u05e3, \u05d0\u05d1\u05dc \u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05d5 \u05de\u05ea\u05d5\u05da \u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea screen. \u05d4\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1-hook \u05d0\u05e4\u05e9\u05e8\u05d9 \u05de\u05db\u05dc \u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05d5\u05de\u05e7\u05dc \u05e2\u05dc \u05d4\u05e0\u05d9\u05d5\u05d5\u05d8 \u05db\u05e9\u05d9\u05e9 \u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d5\u05ea \u05de\u05e7\u05d5\u05e0\u05e0\u05d5\u05ea. \u05db\u05d3\u05d0\u05d9 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1-hook \u05e8\u05e7 \u05db\u05e9\u05d9\u05e9 \u05e6\u05d5\u05e8\u05da \u05d1\u05db\u05da.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e0\u05d7\u05e0\u05d5 \u05e8\u05d5\u05d0\u05d9\u05dd \u05e9\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e0\u05d9\u05d5\u05d5\u05d8 \u05d9\u05e9 \u05dc\u05e0\u05d5 \u05d7\u05e5 \u05dc\u05de\u05e2\u05dc\u05d4 \u05e9\u05de\u05d7\u05d6\u05d9\u05e8 \u05d0\u05d5\u05ea\u05e0\u05d5 \u05dc\u05de\u05e1\u05da \u05d4\u05e7\u05d5\u05d3\u05dd.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Passing Data between Screens<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05e8\u05d0\u05d4 \u05d0\u05d9\u05da \u05de\u05e2\u05d1\u05d9\u05e8\u05d9\u05dd \u05de\u05d9\u05d3\u05e2 \u05d1\u05d9\u05df \u05d4\u05de\u05e1\u05db\u05d9\u05dd. navigation.navigate \u05de\u05e7\u05d1\u05dc\u05ea \u05e4\u05e8\u05de\u05d8\u05e8\u05d9\u05dd \u05e9\u05d4\u05d9\u05d0 \u05de\u05e2\u05d1\u05d9\u05e8\u05d4 \u05e2\u05dd \u05d4\u05e0\u05d9\u05d5\u05d5\u05d8. \u05db\u05d3\u05d9 \u05dc\u05e7\u05d1\u05dc \u05d0\u05ea \u05d4\u05e4\u05e8\u05de\u05d8\u05e8\u05d9\u05dd \u05d1\u05de\u05e1\u05da \u05e9\u05de\u05d2\u05d9\u05e2\u05d9\u05dd \u05d0\u05dc\u05d9\u05d5 \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1-route prop.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05de\u05e1\u05da \u05d4\u05e9\u05d5\u05dc\u05d7:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n&lt;Button\n  title=&quot;Go to Profile&quot;\n  onPress={() =&gt; navigation.navigate(&quot;Profile&quot;, { name: &quot;Keren&quot; })}\n\/&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05de\u05e1\u05da \u05d4\u05de\u05e7\u05d1\u05dc:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [4,5,9]; title: ; notranslate\" title=\"\">\nimport React from &quot;react&quot;;\nimport { View, Text, StyleSheet} from &quot;react-native&quot;;\n\nexport default function ProfileScreen({ route }) {\n  const {name} = route.params;\n\n  return (\n    &lt;View style={styles.container}&gt;\n      &lt;Text style={styles.text}&gt;{name}&#039;s Profile&lt;\/Text&gt;\n    &lt;\/View&gt;\n  );\n}\n\nconst styles = StyleSheet.create({\n    container: {\n      flex: 1,\n      alignItems: &quot;center&quot;,\n      justifyContent: &quot;center&quot;,\n    },\n    text: {\n      fontSize: 24,\n      fontWeight: &quot;bold&quot;,\n      marginBottom: 16,\n    },\n  });\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05e7\u05d1\u05d5\u05e2 \u05d1\u05e8\u05d9\u05e8\u05ea \u05de\u05d7\u05d3\u05dc \u05dc\u05e4\u05e8\u05de\u05d8\u05e8\u05d9\u05dd \u05d1\u05e7\u05d5\u05d1\u05e5 \u05d1\u05d5 \u05de\u05d5\u05d2\u05d3\u05e8\u05d9\u05dd \u05d4\u05e0\u05ea\u05d9\u05d1\u05d9\u05dd.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [6,7,8]; title: ; notranslate\" title=\"\">\nexport default function App() {\n  return (\n    &lt;Stack.Navigator&gt;\n      &lt;Stack.Screen name=&quot;Home&quot; component={HomeScreen} \/&gt;\n      &lt;Stack.Screen name=&quot;Profile&quot; component={ProfileScreen} \n        initialParams={{\n          name: &quot;Guest&quot;\n        }}\n      \/&gt;\n    &lt;\/Stack.Navigator&gt;\n  );\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05e9 \u05d0\u05e4\u05e9\u05e8\u05d5\u05ea \u05dc\u05e2\u05d3\u05db\u05df \u05d0\u05ea \u05d4\u05e4\u05e8\u05de\u05d8\u05e8 \u05e9\u05d4\u05d2\u05d9\u05e2.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [7,8,9,10]; title: ; notranslate\" title=\"\">\nexport default function ProfileScreen({ route, navigation }) {\n  const {name} = route.params;\n\n  return (\n    &lt;View style={styles.container}&gt;\n      &lt;Text style={styles.text}&gt;{name}&#039;s Profile&lt;\/Text&gt;\n      &lt;Button\n            title=&quot;Update the name&quot;\n            onPress={() =&gt; navigation.setParams({ name: &quot;Epic Marketing&quot; })}\n      \/&gt;\n    &lt;\/View&gt;\n  );\n}\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Stack Navigation Options<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05e8\u05d0\u05d4 \u05d7\u05dc\u05e7 \u05de\u05d4\u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea \u05e9-Stack Navigation \u05ea\u05d5\u05de\u05da \u05d1\u05d4\u05df.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u05db\u05d5\u05ea\u05e8\u05ea<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u05dc\u05db\u05dc \u05de\u05e1\u05da \u05d9\u05e9 \u05db\u05d5\u05ea\u05e8\u05ea \u05e9\u05d4\u05d5\u05d0 \u05de\u05e6\u05d9\u05d2. \u05db\u05d1\u05e8\u05d9\u05e8\u05ea \u05de\u05d7\u05d3\u05dc \u05d4\u05e9\u05dd \u05e9\u05de\u05d5\u05d2\u05d3\u05e8 \u05d1-name \u05d4\u05d5\u05d0 \u05d6\u05d4 \u05e9\u05d9\u05d5\u05e4\u05d9\u05e2 \u05d1\u05e8\u05d0\u05e9 \u05d4\u05de\u05e1\u05da. \u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05ea\u05d0\u05d9\u05dd \u05d0\u05ea \u05d6\u05d4.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [2]; title: ; notranslate\" title=\"\">\n&lt;Stack.Screen name=&quot;Home&quot; component={HomeScreen} options={{\n  title: &quot;Welcome Home&quot;\n}}\/&gt;\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u05e2\u05d9\u05e6\u05d5\u05d1 \u05d4\u05db\u05d5\u05ea\u05e8\u05ea<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u05dc\u05e4\u05e2\u05de\u05d9\u05dd \u05d9\u05e9 \u05e6\u05d5\u05e8\u05da \u05d1\u05e2\u05d9\u05e6\u05d5\u05d1 \u05e9\u05d8\u05d7 \u05d4\u05db\u05d5\u05ea\u05e8\u05ea \u05db\u05d3\u05d9 \u05dc\u05d4\u05ea\u05d0\u05d9\u05dd \u05d0\u05d5\u05ea\u05d5 \u05dc\u05e2\u05d9\u05e6\u05d5\u05d1 \u05d4\u05d0\u05e4\u05dc\u05d9\u05e7\u05e6\u05d9\u05d4.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [3,4,5,6,7,8,9]; title: ; notranslate\" title=\"\">\n&lt;Stack.Screen name=&quot;Home&quot; component={HomeScreen} options={{\n  title: &quot;Welcome Home&quot;,\n  headerStyle: {\n    backgroundColor: &quot;green&quot; \n  },\n  headerTintColor: &quot;#fff&quot;,\n  headerTitleStyle: {\n    fontWeight: &quot;bold&quot;\n  }\n}}\/&gt;\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u05e6\u05d3\u05d3\u05d9 \u05d4\u05db\u05d5\u05ea\u05e8\u05ea<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d5\u05ea \u05de\u05ea\u05d0\u05de\u05d5\u05ea \u05dc\u05d9\u05de\u05d9\u05df \u05d5\u05dc\u05e9\u05de\u05d0\u05dc \u05d4\u05db\u05d5\u05ea\u05e8\u05ea.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [10,11,12,13,14]; title: ; notranslate\" title=\"\">\n&lt;Stack.Screen name=&quot;Home&quot; component={HomeScreen} options={{\n  title: &quot;Welcome Home&quot;,\n  headerStyle: {\n    backgroundColor: &quot;green&quot; \n  },\n  headerTintColor: &quot;#fff&quot;,\n  headerTitleStyle: {\n    fontWeight: &quot;bold&quot;\n  },\n  headerRight: () =&gt; (\n    &lt;Pressable onPress={() =&gt; alert(&quot;Menu Pressed&quot;)}&gt;\n      &lt;Text style={{color: &quot;#fff&quot;, fontSize: 16, paddingRight: 10}}&gt;Menu&lt;\/Text&gt;\n    &lt;\/Pressable&gt;\n  )\n}}\/&gt;\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\">\u05e2\u05d9\u05e6\u05d5\u05d1 \u05d4\u05ea\u05d5\u05db\u05df<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05e9 \u05d0\u05e4\u05e9\u05e8\u05d5\u05ea \u05dc\u05e2\u05e6\u05d1 \u05d0\u05ea \u05d4\u05ea\u05d5\u05db\u05df \u05e9\u05dc \u05d4\u05de\u05e1\u05da.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [15,16,17]; title: ; notranslate\" title=\"\">\n&lt;Stack.Screen name=&quot;Home&quot; component={HomeScreen} options={{\n  title: &quot;Welcome Home&quot;,\n  headerStyle: {\n    backgroundColor: &quot;green&quot; \n  },\n  headerTintColor: &quot;#fff&quot;,\n  headerTitleStyle: {\n    fontWeight: &quot;bold&quot;\n  },\n  headerRight: () =&gt; (\n    &lt;Pressable onPress={() =&gt; alert(&quot;Menu Pressed&quot;)}&gt;\n      &lt;Text style={{color: &quot;#fff&quot;, fontSize: 16, paddingRight: 10}}&gt;Menu&lt;\/Text&gt;\n    &lt;\/Pressable&gt;\n  ),\n  contentStyle: {\n    backgroundColor: &#039;lightgreen&#039;\n  }\n}}\/&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05db\u05dc \u05d4\u05d4\u05d2\u05d3\u05e8\u05d5\u05ea \u05d4\u05d0\u05dc\u05d4 \u05d7\u05dc\u05d5\u05ea \u05e2\u05dc \u05d4\u05de\u05e1\u05da \u05d4\u05e1\u05e4\u05e6\u05d9\u05e4\u05d9 \u05e9\u05d1\u05d5 \u05d4\u05df \u05de\u05d5\u05d2\u05d3\u05e8\u05d5\u05ea. \u05d0\u05dd \u05e8\u05d5\u05e6\u05d9\u05dd \u05dc\u05d4\u05d7\u05d9\u05dc \u05d0\u05d5\u05ea\u05df \u05e2\u05dc \u05db\u05dc \u05d4\u05de\u05e1\u05db\u05d9\u05dd \u05e6\u05e8\u05d9\u05da \u05dc\u05d4\u05e2\u05dc\u05d5\u05ea \u05d0\u05d5\u05ea\u05df \u05dc-Stack.Navigator \u05d5\u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1-screenOption.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Dynamic Stack Navigator Options<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e8\u05d0\u05d9\u05e0\u05d5 \u05d0\u05d9\u05da \u05dc\u05e9\u05e0\u05d5\u05ea \u05d0\u05ea \u05d4\u05d4\u05d2\u05d3\u05e8\u05d5\u05ea \u05e9\u05dc \u05d4-stack. \u05dc\u05e4\u05e2\u05de\u05d9\u05dd \u05e0\u05e8\u05e6\u05d4 \u05dc\u05e9\u05dc\u05d5\u05d7 \u05d3\u05d9\u05e0\u05de\u05d9\u05ea \u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05dc\u05d4\u05d2\u05d3\u05e8\u05d5\u05ea \u05d4\u05d0\u05dc\u05d4, \u05dc\u05de\u05e9\u05dc \u05e0\u05e8\u05e6\u05d4 \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3 \u05d0\u05ea \u05e9\u05dd \u05d4\u05de\u05e9\u05ea\u05de\u05e9 \u05d1\u05db\u05d5\u05ea\u05e8\u05ea.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n&lt;Stack.Screen name=&quot;Profile&quot; component={ProfileScreen} \n  initialParams={{\n    name: &quot;Guest&quot;\n  }}\n  options={({route}) =&gt; ({\n    title: route.params?.name\n  })}\n\/&gt;\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d3\u05e8\u05da \u05e0\u05d5\u05e1\u05e4\u05ea \u05d4\u05d9\u05d0 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1-hook \u05d1\u05e7\u05d5\u05d1\u05e5 \u05e2\u05e6\u05de\u05d5, \u05dc\u05de\u05e9\u05dc \u05e4\u05d4 \u05d1\u05e7\u05d5\u05d1\u05e5 \u05de\u05e1\u05da profile.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n...\nimport { useLayoutEffect } from &quot;react&quot;;\n\nexport default function ProfileScreen({ route, navigation }) {\n  const {name} = route.params;\n  useLayoutEffect(() =&gt; {\n    navigation.setOptions({\n        title: name\n    })\n  }, &#x5B;navigation, name]);\n...\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1-useLayoutEffect \u05d5\u05dc\u05d0 \u05d1-useEffect \u05d4\u05d5\u05d0 \u05db\u05d3\u05d9 \u05dc\u05ea\u05ea \u05de\u05e2\u05d1\u05e8 \u05d7\u05dc\u05e7 \u05d9\u05d5\u05ea\u05e8. \u05d4\u05e9\u05d9\u05de\u05d5\u05e9 \u05d1-hook \u05de\u05ea\u05d0\u05d9\u05dd \u05d9\u05d5\u05ea\u05e8 \u05db\u05d0\u05e9\u05e8 \u05d4\u05e9\u05d9\u05e0\u05d5\u05d9 \u05e0\u05d5\u05d1\u05e2 \u05de\u05e4\u05e2\u05d5\u05dc\u05d5\u05ea \u05d1\u05e2\u05de\u05d5\u05d3 \u05e2\u05e6\u05de\u05d5.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Drawer Navigation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/reactnavigation.org\/docs\/drawer-navigator\" target=\"_blank\" rel=\"noreferrer noopener\">Drawer Navigation<\/a> \u05de\u05e6\u05d9\u05d2 \u05ea\u05e4\u05e8\u05d9\u05d8 \u05e9\u05d9\u05d5\u05e6\u05d0 \u05de\u05d4\u05e6\u05d3 \u05e9\u05dc \u05d4\u05de\u05e1\u05da.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05ea\u05d7\u05d9\u05dc \u05d1\u05d4\u05ea\u05e7\u05e0\u05d4 \u05e9\u05dc \u05d4\u05e1\u05e4\u05e8\u05d9\u05d4.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nnpm install @react-navigation\/drawer\nnpm install react-native-gesture-handler react-native-reanimated\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05e7\u05d5\u05d1\u05e5 \u05e0\u05d9\u05d9\u05d1\u05d0 \u05d0\u05ea \u05d4\u05e1\u05e4\u05e8\u05d9\u05d9\u05d4  react-native-gesture-handler \u05d1\u05e9\u05d5\u05e8\u05d4 \u05d4\u05db\u05d9 \u05e2\u05dc\u05d9\u05d5\u05e0\u05d4 \u05d5\u05d0\u05d7\u05e8 \u05db\u05da \u05d0\u05ea \u05e1\u05e4\u05e8\u05d9\u05d5\u05ea \u05d4\u05e0\u05d9\u05d5\u05d5\u05d8. \u05e0\u05d9\u05e6\u05d5\u05e8 \u05de\u05d5\u05e4\u05e2 \u05e9\u05dc DrawerNavigator.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nimport &#039;react-native-gesture-handler&#039;\nimport { createDrawerNavigator } from &quot;@react-navigation\/drawer&quot;;\n\nconst Drawer = createDrawerNavigator();\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d5\u05e1\u05d9\u05e3 \u05d0\u05ea NavigationContainer, \u05d1\u05ea\u05d5\u05db\u05d5 \u05d0\u05ea Drawer.Navigator \u05d5\u05d1\u05ea\u05d5\u05db\u05d5 Drawer.Screen \u05dc\u05db\u05dc \u05de\u05e1\u05da \u05e9\u05e0\u05e8\u05e6\u05d4 \u05dc\u05d4\u05d5\u05e1\u05d9\u05e3.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nexport default function App() {\n    return (\n        &lt;NavigationContainer&gt;\n            &lt;Drawer.Navigator&gt;\n                &lt;Drawer.Screen \/&gt;\n            &lt;\/Drawer.Navigator&gt;\n        &lt;\/NavigationContainer&gt;\n    )     \n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d5\u05e1\u05d9\u05e3 2 \u05e7\u05d1\u05e6\u05d9 \u05de\u05e1\u05db\u05d9\u05dd \u05e0\u05d5\u05e1\u05e4\u05d9\u05dd \u05d1\u05ea\u05d9\u05e7\u05d9\u05d9\u05ea screens: \u05d0\u05ea Dashboard \u05d5\u05d0\u05ea Settings. \u05d1\u05db\u05dc \u05d0\u05d7\u05d3 \u05de\u05d4\u05dd \u05e7\u05d5\u05d3 \u05d1\u05e1\u05d9\u05e1\u05d9.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nimport { View, Text, StyleSheet, Button } from &quot;react-native&quot;;\n\nexport default function DashboardScreen() {\n  return (\n    &lt;View style={styles.container}&gt;\n      &lt;Text style={styles.text}&gt;DashboardScreen&lt;\/Text&gt;\n    &lt;\/View&gt;\n  );\n};\n\nconst styles = StyleSheet.create({\n  container: {\n    flex: 1,\n    alignItems: &quot;center&quot;,\n    justifyContent: &quot;center&quot;,\n  },\n  text: {\n    fontSize: 24,\n    fontWeight: &quot;bold&quot;,\n    marginBottom: 16,\n  },\n});\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05e6\u05e8\u05e3 \u05d0\u05ea \u05d4\u05de\u05e1\u05db\u05d9\u05dd \u05dc\u05ea\u05e4\u05e8\u05d9\u05d8 \u05d4\u05e0\u05d9\u05d5\u05d5\u05d8 \u05e9\u05d9\u05e6\u05e8\u05e0\u05d5.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nexport default function App() {\n    return (\n        &lt;Drawer.Navigator&gt;\n            &lt;Drawer.Screen name=&quot;Dashboard&quot; component={DashboardScreen}\/&gt;\n            &lt;Drawer.Screen name=&quot;Settings&quot; component={SettingsScreen} \/&gt;\n        &lt;\/Drawer.Navigator&gt;\n    )     \n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e7\u05d1\u05dc\u05e0\u05d5 \u05de\u05e1\u05da \u05e2\u05dd \u05d0\u05d9\u05d9\u05e7\u05d5\u05df \u05e9\u05dc \u05ea\u05e4\u05e8\u05d9\u05d8, \u05d5\u05d0\u05dd \u05e4\u05d5\u05ea\u05d7\u05d9\u05dd \u05d0\u05d5\u05ea\u05d5 \u05d0\u05e4\u05e9\u05e8 \u05dc\u05e2\u05d1\u05d5\u05e8 \u05d1\u05d9\u05df \u05d4\u05d3\u05e4\u05d9\u05dd.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"340\" height=\"686\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-12-131513.png\" alt=\"\" class=\"wp-image-2293\" style=\"width:241px;height:auto\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-12-131513.png 340w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-12-131513-149x300.png 149w\" sizes=\"(max-width: 340px) 100vw, 340px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05dc\u05e4\u05ea\u05d5\u05d7 \u05d0\u05ea \u05d4\u05ea\u05e4\u05e8\u05d9\u05d8 \u05d2\u05dd \u05d3\u05e8\u05da \u05d4\u05e7\u05d5\u05d3.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [5]; title: ; notranslate\" title=\"\">\nexport default function DashboardScreen({ navigation }){\n  return (\n    &lt;View style={styles.container}&gt;\n      &lt;Text style={styles.text}&gt;DashboardScreen&lt;\/Text&gt;\n      &lt;Button title=&quot;Toggle drawer&quot; onPress={() =&gt; navigation.toggleDrawer()} \/&gt;\n    &lt;\/View&gt;\n  );\n};\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05d2\u05dd \u05dc\u05e2\u05d1\u05d5\u05e8 \u05dc\u05de\u05e1\u05da \u05d0\u05d7\u05e8 \u05d1\u05dc\u05d9 \u05e6\u05d5\u05e8\u05da \u05dc\u05e2\u05d1\u05d5\u05e8 \u05d3\u05e8\u05da \u05d4\u05ea\u05e4\u05e8\u05d9\u05d8.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [6]; title: ; notranslate\" title=\"\">\nexport default function DashboardScreen({ navigation }){\n  return (\n    &lt;View style={styles.container}&gt;\n      &lt;Text style={styles.text}&gt;DashboardScreen&lt;\/Text&gt;\n      &lt;Button title=&quot;Toggle drawer&quot; onPress={() =&gt; navigation.toggleDrawer()} \/&gt;\n      &lt;Button title=&quot;Settings&quot; onPress={() =&gt; navigation.jumpTo(&quot;Settings&quot;)} \/&gt;\n    &lt;\/View&gt;\n  );\n};\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Drawer Navigation Options<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05dc\u05e0\u05d9\u05d5\u05d5\u05d8 \u05d9\u05e9 \u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea \u05db\u05de\u05d5 \u05e9\u05e8\u05d0\u05d9\u05e0\u05d5 \u05e7\u05d5\u05d3\u05dd.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nexport default function App() {\n    return (\n        &lt;Drawer.Navigator&gt;\n            &lt;Drawer.Screen\n          name=&quot;Dashboard&quot;\n          component={DashboardScreen}\n          options={{\n            title: &quot;My dashboard&quot;,\n            drawerLabel: &quot;Dashboard label&quot;,\n            drawerActiveTintColor: &quot;#333&quot;,\n            drawerActiveBackgroundColor: &quot;lightblue&quot;,\n            drawerContentStyle: {\n              backgroundColor: &quot;#c6cbef&quot;,\n            },\n          }}\n        \/&gt;\n            &lt;Drawer.Screen name=&quot;Settings&quot; component={SettingsScreen} \/&gt;\n        &lt;\/Drawer.Navigator&gt;\n    )     \n}\n<\/pre><\/div>\n\n\n<h2 class=\"wp-block-heading\">Tab Navigation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/reactnavigation.org\/docs\/bottom-tab-navigator\" target=\"_blank\" rel=\"noreferrer noopener\">Tab Navigation <\/a>\u05de\u05d0\u05e4\u05e9\u05e8 \u05e0\u05d9\u05d5\u05d5\u05d8 \u05e2\u05dc \u05d9\u05d3\u05d9 \u05dc\u05d7\u05d9\u05e6\u05d4 \u05e2\u05dc \u05d8\u05d0\u05d1\u05d9\u05dd \u05e9\u05d1\u05d3\u05e8\u05da \u05db\u05dc\u05dc \u05de\u05d5\u05e6\u05d2\u05d9\u05dd \u05d1\u05ea\u05d7\u05ea\u05d9\u05ea \u05d4\u05de\u05e1\u05da.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d9\u05d9\u05d1\u05d0 \u05d0\u05ea createBottomTabNavigator, \u05e0\u05d9\u05e6\u05d5\u05e8 \u05de\u05d5\u05e4\u05e2 \u05d5\u05e0\u05db\u05d9\u05df Tab \u05dc\u05db\u05dc \u05d0\u05d7\u05d3 \u05de\u05d4\u05de\u05e1\u05db\u05d9\u05dd \u05e9\u05e8\u05d5\u05e6\u05d9\u05dd.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nimport { createBottomTabNavigator } from &quot;@react-navigation\/bottom-tabs&quot;;\nimport DashboardScreen from &#039;.\/screens\/DashboardScreen&#039;\nimport SettingsScreen from &#039;.\/screens\/SettingsScreen&#039;\nimport CoursesScreen from &#039;.\/screens\/CoursesScreen&#039;\n\nconst Tab = createBottomTabNavigator();\n\nexport default function App() {\n    return (\n        &lt;Tab.Navigator&gt;\n            &lt;Tab.Screen name=&quot;Dashboard&quot; component={DashboardScreen} \/&gt;\n            &lt;Tab.Screen name=&quot;Settings&quot; component={SettingsScreen} \/&gt;\n            &lt;Tab.Screen name=&quot;Courses&quot; component={CoursesScreen} \/&gt;\n        &lt;\/Tab.Navigator&gt;\n    )     \n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05e7\u05d1\u05dc \u05d1\u05ea\u05d7\u05ea\u05d9\u05ea \u05d4\u05de\u05e1\u05da \u05e9\u05d5\u05e8\u05ea \u05e0\u05d9\u05d5\u05d5\u05d8.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" width=\"344\" height=\"671\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-12-135850.png\" alt=\"\" class=\"wp-image-2295\" style=\"width:241px;height:auto\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-12-135850.png 344w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-12-135850-154x300.png 154w\" sizes=\"(max-width: 344px) 100vw, 344px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Tab Navigation Options<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u05d4\u05d2\u05d3\u05e8\u05d5\u05ea \u05db\u05dc\u05dc\u05d9\u05d5\u05ea<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05e8\u05d0\u05d4 \u05d0\u05ea \u05d4\u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea \u05dc\u05e9\u05d9\u05e0\u05d5\u05d9 \u05d1\u05e1\u05e8\u05d2\u05dc \u05d4\u05e0\u05d9\u05d5\u05d5\u05d8. \u05d1\u05e8\u05de\u05d4 \u05d4\u05e2\u05dc\u05d9\u05d5\u05e0\u05d4 \u05d9\u05e9 \u05d0\u05ea screenOptions.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [4,5,6,7,8]; title: ; notranslate\" title=\"\">\nexport default function App() {\n    return (\n        &lt;Tab.Navigator\n            screenOptions={{\n                \/\/   tabBarShowLabel: false,\n                tabBarLabelPosition: &quot;below-icon&quot;,\n                tabBarActiveTintColor: &quot;purple&quot;,\n            }}\n        &gt;\n            &lt;Tab.Screen name=&quot;Dashboard&quot; component={DashboardScreen} \/&gt;\n            &lt;Tab.Screen name=&quot;Settings&quot; component={SettingsScreen} \/&gt;\n            &lt;Tab.Screen name=&quot;Courses&quot; component={CoursesScreen} \/&gt;\n        &lt;\/Tab.Navigator&gt;\n    )     \n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">tabBarLabelPosition \u05de\u05d0\u05e4\u05e9\u05e8 \u05dc\u05e9\u05d9\u05dd \u05d0\u05ea \u05d4\u05d8\u05e7\u05e1\u05d8 \u05d1\u05de\u05d9\u05e7\u05d5\u05dd \u05e9\u05d5\u05e0\u05d4 \u05d1\u05d9\u05d7\u05e1 \u05dc\u05d0\u05d9\u05d9\u05e7\u05d5\u05df. \u05d1\u05de\u05e1\u05da \u05d8\u05d0\u05d1\u05dc\u05d8 \u05dc\u05de\u05e9\u05dc \u05d0\u05e4\u05e9\u05e8 \u05dc\u05e9\u05d9\u05dd \u05d0\u05ea \u05d4\u05d8\u05e7\u05e1\u05d8 \u05dc\u05d9\u05d3 \u05d4\u05d0\u05d9\u05d9\u05e7\u05d5\u05df \u05d5\u05dc\u05d0 \u05de\u05ea\u05d7\u05ea\u05d9\u05d5.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">tabBarShowLabel \u05de\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d4\u05d5\u05e8\u05d9\u05d3 \u05dc\u05d2\u05de\u05e8\u05d9 \u05d0\u05ea \u05d4\u05ea\u05d5\u05d9\u05ea.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">tabBarActiveTintColor \u05de\u05e9\u05e0\u05d4 \u05d0\u05ea \u05d4\u05e6\u05d1\u05e2 \u05e9\u05dc \u05d4-tab \u05d4\u05e4\u05e2\u05d9\u05dc. tabBarInactiveTintColor \u05de\u05e9\u05e0\u05d4 \u05d0\u05ea \u05d4\u05e6\u05d1\u05e2 \u05e9\u05dc \u05d4\u05d8\u05d0\u05d1\u05d9\u05dd \u05d4\u05dc\u05d0 \u05e4\u05e2\u05d9\u05dc\u05d9\u05dd.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u05d4\u05d2\u05d3\u05e8\u05d5\u05ea \u05dc\u05db\u05dc \u05e4\u05e8\u05d9\u05d8 \u05d1\u05e8\u05e9\u05d9\u05de\u05d4<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">tabBarLabel &#8211; \u05de\u05e9\u05e0\u05d4 \u05d0\u05ea \u05d4\u05d8\u05e7\u05e1\u05d8 \u05e9\u05de\u05d5\u05e6\u05d2 \u05d1\u05ea\u05e4\u05e8\u05d9\u05d8.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">tabBarIcon &#8211; \u05de\u05e9\u05e0\u05d4 \u05d0\u05ea \u05d4\u05d0\u05d9\u05d9\u05e7\u05d5\u05df \u05d1\u05ea\u05e4\u05e8\u05d9\u05d8. \u05d0\u05d9\u05d9\u05e7\u05d5\u05e0\u05d9\u05dd \u05e0\u05de\u05e6\u05d0\u05d9\u05dd \u05d1<a href=\"https:\/\/icons.expo.fyi\/Index\" target=\"_blank\" rel=\"noreferrer noopener\">\u05d0\u05ea\u05e8 \u05d4\u05d0\u05d9\u05d9\u05e7\u05d5\u05e0\u05d9\u05dd \u05e9\u05dc expo<\/a>. \u05dc\u05d0\u05d9\u05d9\u05e7\u05d5\u05df \u05d0\u05e4\u05e9\u05e8 \u05dc\u05e9\u05e0\u05d5\u05ea \u05e6\u05d1\u05e2 \u05d5\u05d2\u05d5\u05d3\u05dc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">tabBarBadge \u05de\u05d5\u05e1\u05d9\u05e3 \u05ea\u05d2 \u05de\u05e2\u05dc \u05dc\u05d0\u05d9\u05d9\u05e7\u05d5\u05df.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">headerShown \u05de\u05e1\u05d9\u05e8 \u05d0\u05ea \u05db\u05d9\u05ea\u05d5\u05d1 \u05d4\u05db\u05d5\u05ea\u05e8\u05ea \u05e9\u05dc \u05d4\u05e2\u05de\u05d5\u05d3.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nexport default function App() {\n    return (\n        &lt;Tab.Navigator\n            screenOptions={{\n                \/\/   tabBarShowLabel: false,\n                tabBarLabelPosition: &quot;below-icon&quot;,\n            }}\n        &gt;\n            &lt;Tab.Screen name=&quot;Dashboard&quot; component={DashboardScreen} \n                options={{\n                    tabBarIcon: () =&gt; &lt;FontAwesome6 name=&quot;table&quot; size={24} color=&quot;green&quot; \/&gt;,\n                }}\n            \/&gt;\n            &lt;Tab.Screen name=&quot;Settings&quot; component={SettingsScreen} \n                options={{\n                    tabBarLabel: &quot;My Settings&quot;,\n                    tabBarIcon: () =&gt; &lt;Ionicons name={&quot;person&quot;} size={20} \/&gt;,\n                    tabBarBadge: 3,\n                }}\n            \/&gt;\n            &lt;Tab.Screen name=&quot;Courses&quot; component={CoursesScreen} \n                options={{\n                    headerShown: false,\n                    tabBarIcon: () =&gt; &lt;FontAwesome6 name=&quot;list&quot; size={24} color=&quot;black&quot; \/&gt;,\n                }}\n            \/&gt;\n        &lt;\/Tab.Navigator&gt;\n    )     \n}\n<\/pre><\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"335\" height=\"47\" src=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-12-141506.png\" alt=\"\" class=\"wp-image-2299\" srcset=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-12-141506.png 335w, https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-12-141506-300x42.png 300w\" sizes=\"(max-width: 335px) 100vw, 335px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Nesting Navigators<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e9\u05d9\u05dc\u05d5\u05d1 \u05e9\u05dc \u05d4\u05e0\u05d9\u05d5\u05d5\u05d8\u05d9\u05dd. \u05e0\u05d5\u05e1\u05d9\u05e3 Stack \u05d1\u05ea\u05d5\u05da Tab.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d2\u05d3\u05d9\u05e8 \u05d1\u05e7\u05d5\u05d1\u05e5 \u05e0\u05e4\u05e8\u05d3 \u05d0\u05ea \u05d4\u05e0\u05d9\u05d5\u05d5\u05d8 Stack \u05d5\u05e0\u05d9\u05d9\u05e6\u05d0 \u05d0\u05d5\u05ea\u05d5.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; highlight: [6]; title: ; notranslate\" title=\"\">\nimport { createNativeStackNavigator } from &#039;@react-navigation\/native-stack&#039;;\nimport HomeScreen from &#039;.\/screens\/HomeScreen&#039;\nimport ProfileScreen from &#039;.\/screens\/ProfileScreen&#039;\n\nconst Stack = createNativeStackNavigator();\nexport const AboutStack = () =&gt; {\n  return (\n    &lt;Stack.Navigator&gt;\n      &lt;Stack.Screen name=&quot;Home&quot; component={HomeScreen} \/&gt;\n      &lt;Stack.Screen name=&quot;Profile&quot; component={ProfileScreen} \/&gt;\n    &lt;\/Stack.Navigator&gt;\n  )\n}\n\nexport default function App() {\n  return (\n    &lt;AboutStack \/&gt;\n  );\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05d1\u05e7\u05d5\u05d1\u05e5 \u05d4\u05e8\u05d0\u05e9\u05d9, \u05e9\u05d1\u05d5 \u05db\u05e8\u05d2\u05e2 \u05de\u05d5\u05d2\u05d3\u05e8 \u05e0\u05d9\u05d5\u05d5\u05d8 Tab \u05e0\u05d9\u05e6\u05d5\u05e8 \u05d8\u05d0\u05d1 \u05d7\u05d3\u05e9 \u05e2\u05dd \u05d4\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05d9\u05e6\u05d0\u05e0\u05d5 \u05e2\u05db\u05e9\u05d9\u05d5.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n...\nimport AboutStack from &#039;.\/index_stack&#039;\n\nconst Tab = createBottomTabNavigator();\n\nexport default function App() {\n    return (\n        &lt;Tab.Navigator&gt;\n            &lt;Tab.Screen name=&quot;Dashboard&quot; component={DashboardScreen} \n                options={{\n                    tabBarIcon: () =&gt; &lt;FontAwesome6 name=&quot;table&quot; size={24} color=&quot;green&quot; \/&gt;,\n                }}\n            \/&gt;\n            ...\n            &lt;Tab.Screen name=&quot;About Stack&quot; component={AboutStack} \/&gt;\n        &lt;\/Tab.Navigator&gt;\n    )     \n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">\u05e2\u05db\u05e9\u05d9\u05d5 \u05d9\u05e9 \u05d8\u05d0\u05d1 \u05e8\u05d1\u05d9\u05e2\u05d9 \u05e9\u05dc\u05d7\u05d9\u05e6\u05d4 \u05e2\u05dc\u05d9\u05d5 \u05ea\u05e6\u05d9\u05d2 \u05d0\u05ea \u05d4\u05de\u05e1\u05da \u05d4\u05e8\u05d0\u05e9\u05d5\u05df \u05e9\u05dc \u05d4-Stack.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05e9 \u05dc\u05e0\u05d5 \u05e9\u05e0\u05d9 headers. \u05d1\u05d3\u05e8\u05da \u05db\u05dc\u05dc \u05e0\u05e8\u05e6\u05d4 \u05e9\u05d4-Stack \u05d9\u05e9\u05dc\u05d5\u05d8 \u05d1\u05db\u05d5\u05ea\u05e8\u05ea \u05db\u05d3\u05d9 \u05e9\u05ea\u05d4\u05d9\u05d4 \u05d0\u05e4\u05e9\u05e8\u05d5\u05ea \u05dc\u05d7\u05d6\u05d5\u05e8 \u05d0\u05d7\u05d5\u05e8\u05d4.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n&lt;Tab.Screen name=&quot;About Stack&quot; component={AboutStack} \n  options={{\n    headerShown: false\n  }}\n\/&gt;\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>\u05e0\u05d3\u05d1\u05e8 \u05e2\u05dc \u05e0\u05d9\u05d5\u05d5\u05d8 \u05e9\u05e0\u05d5\u05ea\u05df \u05dc\u05e0\u05d5 \u05d0\u05e4\u05e9\u05e8\u05d5\u05ea \u05dc\u05e2\u05d1\u05d5\u05e8 \u05d1\u05d9\u05df \u05de\u05e1\u05db\u05d9\u05dd. \u05d0\u05d7\u05e8\u05d9 \u05d4\u05e4\u05ea\u05d9\u05d7\u05d4 \u05e9\u05dc \u05d4\u05e4\u05e8\u05d5\u05d9\u05d9\u05e7\u05d8 \u05e0\u05ea\u05e7\u05d9\u05df \u05d0\u05ea react navigation. \u05e0\u05ea\u05e7\u05d9\u05df 2 \u05e1\u05e4\u05e8\u05d9\u05d5\u05ea \u05e0\u05d5\u05e1\u05e4\u05d5\u05ea: \u05db\u05d3\u05d9 \u05dc\u05e2\u05d1\u05d5\u05d3 \u05e2\u05dd react navigation \u05e6\u05e8\u05d9\u05da \u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05e2\u05d5\u05d8\u05e4\u05ea \u05d0\u05ea \u05db\u05dc \u05d4\u05d0\u05e4\u05dc\u05d9\u05e7\u05e6\u05d9\u05d4. \u05e0\u05e9\u05d9\u05dd \u05d0\u05ea \u05e7\u05d5\u05d3 \u05d4\u05d1\u05e1\u05d9\u05e1 \u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05e4\u05ea\u05d9\u05d7\u05d4, index.jsx. \u05d1\u05ea\u05d5\u05da NavigationContainer \u05e0\u05d5\u05db\u05dc \u05dc\u05e9\u05d9\u05dd \u05e7\u05d8\u05e2\u05d9 \u05e7\u05d5\u05d3 \u05e9\u05de\u05d5\u05e8\u05db\u05d1\u05d9\u05dd \u05de\u05e0\u05ea\u05d9\u05d1\u05d9 \u05e0\u05d9\u05d5\u05d5\u05d8 \u05e9\u05d5\u05e0\u05d9\u05dd. Stack Navigation \u05d4\u05e2\u05e7\u05e8\u05d5\u05df \u05e9\u05dc Stack Navigation [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[80],"tags":[],"class_list":["post-2273","post","type-post","status-publish","format-standard","hentry","category-react-native","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Navigation - Code Notebook<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/\" \/>\n<meta property=\"og:locale\" content=\"he_IL\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Navigation - Code Notebook\" \/>\n<meta property=\"og:description\" content=\"\u05e0\u05d3\u05d1\u05e8 \u05e2\u05dc \u05e0\u05d9\u05d5\u05d5\u05d8 \u05e9\u05e0\u05d5\u05ea\u05df \u05dc\u05e0\u05d5 \u05d0\u05e4\u05e9\u05e8\u05d5\u05ea \u05dc\u05e2\u05d1\u05d5\u05e8 \u05d1\u05d9\u05df \u05de\u05e1\u05db\u05d9\u05dd. \u05d0\u05d7\u05e8\u05d9 \u05d4\u05e4\u05ea\u05d9\u05d7\u05d4 \u05e9\u05dc \u05d4\u05e4\u05e8\u05d5\u05d9\u05d9\u05e7\u05d8 \u05e0\u05ea\u05e7\u05d9\u05df \u05d0\u05ea react navigation. \u05e0\u05ea\u05e7\u05d9\u05df 2 \u05e1\u05e4\u05e8\u05d9\u05d5\u05ea \u05e0\u05d5\u05e1\u05e4\u05d5\u05ea: \u05db\u05d3\u05d9 \u05dc\u05e2\u05d1\u05d5\u05d3 \u05e2\u05dd react navigation \u05e6\u05e8\u05d9\u05da \u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05e2\u05d5\u05d8\u05e4\u05ea \u05d0\u05ea \u05db\u05dc \u05d4\u05d0\u05e4\u05dc\u05d9\u05e7\u05e6\u05d9\u05d4. \u05e0\u05e9\u05d9\u05dd \u05d0\u05ea \u05e7\u05d5\u05d3 \u05d4\u05d1\u05e1\u05d9\u05e1 \u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05e4\u05ea\u05d9\u05d7\u05d4, index.jsx. \u05d1\u05ea\u05d5\u05da NavigationContainer \u05e0\u05d5\u05db\u05dc \u05dc\u05e9\u05d9\u05dd \u05e7\u05d8\u05e2\u05d9 \u05e7\u05d5\u05d3 \u05e9\u05de\u05d5\u05e8\u05db\u05d1\u05d9\u05dd \u05de\u05e0\u05ea\u05d9\u05d1\u05d9 \u05e0\u05d9\u05d5\u05d5\u05d8 \u05e9\u05d5\u05e0\u05d9\u05dd. Stack Navigation \u05d4\u05e2\u05e7\u05e8\u05d5\u05df \u05e9\u05dc Stack Navigation [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/\" \/>\n<meta property=\"og:site_name\" content=\"Code Notebook\" \/>\n<meta property=\"article:published_time\" content=\"2025-02-10T17:51:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-12T12:36:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-12-131513.png\" \/>\n\t<meta property=\"og:image:width\" content=\"340\" \/>\n\t<meta property=\"og:image:height\" content=\"686\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"kerendanino\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u05e0\u05db\u05ea\u05d1 \u05e2\u05dc \u05d9\u05d3\" \/>\n\t<meta name=\"twitter:data1\" content=\"kerendanino\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u05d6\u05de\u05df \u05e7\u05e8\u05d9\u05d0\u05d4 \u05de\u05d5\u05e2\u05e8\u05da\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u05d3\u05e7\u05d5\u05ea\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-navigation\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-navigation\\\/\"},\"author\":{\"name\":\"kerendanino\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\"},\"headline\":\"Navigation\",\"datePublished\":\"2025-02-10T17:51:55+00:00\",\"dateModified\":\"2025-02-12T12:36:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-navigation\\\/\"},\"wordCount\":111,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-navigation\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/Screenshot-2025-02-12-131513.png\",\"articleSection\":[\"React Native\"],\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-navigation\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-navigation\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-navigation\\\/\",\"name\":\"Navigation - Code Notebook\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-navigation\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-navigation\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/Screenshot-2025-02-12-131513.png\",\"datePublished\":\"2025-02-10T17:51:55+00:00\",\"dateModified\":\"2025-02-12T12:36:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-navigation\\\/#breadcrumb\"},\"inLanguage\":\"he-IL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-navigation\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-navigation\\\/#primaryimage\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/Screenshot-2025-02-12-131513.png\",\"contentUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2025\\\/02\\\/Screenshot-2025-02-12-131513.png\",\"width\":340,\"height\":686},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/react-native-navigation\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Navigation\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#website\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\",\"name\":\"Code Notebook\",\"description\":\"Easy coding\",\"publisher\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"he-IL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#organization\",\"name\":\"Code Notebook\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-epic-marketing-05.png\",\"contentUrl\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo-epic-marketing-05.png\",\"width\":3626,\"height\":1942,\"caption\":\"Code Notebook\"},\"image\":{\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/#\\\/schema\\\/person\\\/195dfc625818eadda7903d456890e24c\",\"name\":\"kerendanino\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"he-IL\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g\",\"caption\":\"kerendanino\"},\"url\":\"https:\\\/\\\/epicmarketing.co.il\\\/notebook\\\/author\\\/kerendanino\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Navigation - Code Notebook","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/","og_locale":"he_IL","og_type":"article","og_title":"Navigation - Code Notebook","og_description":"\u05e0\u05d3\u05d1\u05e8 \u05e2\u05dc \u05e0\u05d9\u05d5\u05d5\u05d8 \u05e9\u05e0\u05d5\u05ea\u05df \u05dc\u05e0\u05d5 \u05d0\u05e4\u05e9\u05e8\u05d5\u05ea \u05dc\u05e2\u05d1\u05d5\u05e8 \u05d1\u05d9\u05df \u05de\u05e1\u05db\u05d9\u05dd. \u05d0\u05d7\u05e8\u05d9 \u05d4\u05e4\u05ea\u05d9\u05d7\u05d4 \u05e9\u05dc \u05d4\u05e4\u05e8\u05d5\u05d9\u05d9\u05e7\u05d8 \u05e0\u05ea\u05e7\u05d9\u05df \u05d0\u05ea react navigation. \u05e0\u05ea\u05e7\u05d9\u05df 2 \u05e1\u05e4\u05e8\u05d9\u05d5\u05ea \u05e0\u05d5\u05e1\u05e4\u05d5\u05ea: \u05db\u05d3\u05d9 \u05dc\u05e2\u05d1\u05d5\u05d3 \u05e2\u05dd react navigation \u05e6\u05e8\u05d9\u05da \u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05d4 \u05e9\u05e2\u05d5\u05d8\u05e4\u05ea \u05d0\u05ea \u05db\u05dc \u05d4\u05d0\u05e4\u05dc\u05d9\u05e7\u05e6\u05d9\u05d4. \u05e0\u05e9\u05d9\u05dd \u05d0\u05ea \u05e7\u05d5\u05d3 \u05d4\u05d1\u05e1\u05d9\u05e1 \u05d1\u05e7\u05d5\u05de\u05e4\u05d5\u05e0\u05e0\u05d8\u05ea \u05d4\u05e4\u05ea\u05d9\u05d7\u05d4, index.jsx. \u05d1\u05ea\u05d5\u05da NavigationContainer \u05e0\u05d5\u05db\u05dc \u05dc\u05e9\u05d9\u05dd \u05e7\u05d8\u05e2\u05d9 \u05e7\u05d5\u05d3 \u05e9\u05de\u05d5\u05e8\u05db\u05d1\u05d9\u05dd \u05de\u05e0\u05ea\u05d9\u05d1\u05d9 \u05e0\u05d9\u05d5\u05d5\u05d8 \u05e9\u05d5\u05e0\u05d9\u05dd. Stack Navigation \u05d4\u05e2\u05e7\u05e8\u05d5\u05df \u05e9\u05dc Stack Navigation [&hellip;]","og_url":"https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/","og_site_name":"Code Notebook","article_published_time":"2025-02-10T17:51:55+00:00","article_modified_time":"2025-02-12T12:36:07+00:00","og_image":[{"width":340,"height":686,"url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-12-131513.png","type":"image\/png"}],"author":"kerendanino","twitter_card":"summary_large_image","twitter_misc":{"\u05e0\u05db\u05ea\u05d1 \u05e2\u05dc \u05d9\u05d3":"kerendanino","\u05d6\u05de\u05df \u05e7\u05e8\u05d9\u05d0\u05d4 \u05de\u05d5\u05e2\u05e8\u05da":"2 \u05d3\u05e7\u05d5\u05ea"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/#article","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/"},"author":{"name":"kerendanino","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c"},"headline":"Navigation","datePublished":"2025-02-10T17:51:55+00:00","dateModified":"2025-02-12T12:36:07+00:00","mainEntityOfPage":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/"},"wordCount":111,"commentCount":0,"publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/#primaryimage"},"thumbnailUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-12-131513.png","articleSection":["React Native"],"inLanguage":"he-IL","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/","url":"https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/","name":"Navigation - Code Notebook","isPartOf":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#website"},"primaryImageOfPage":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/#primaryimage"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/#primaryimage"},"thumbnailUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-12-131513.png","datePublished":"2025-02-10T17:51:55+00:00","dateModified":"2025-02-12T12:36:07+00:00","breadcrumb":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/#breadcrumb"},"inLanguage":"he-IL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/"]}]},{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/#primaryimage","url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-12-131513.png","contentUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2025\/02\/Screenshot-2025-02-12-131513.png","width":340,"height":686},{"@type":"BreadcrumbList","@id":"https:\/\/epicmarketing.co.il\/notebook\/react-native-navigation\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/epicmarketing.co.il\/notebook\/"},{"@type":"ListItem","position":2,"name":"Navigation"}]},{"@type":"WebSite","@id":"https:\/\/epicmarketing.co.il\/notebook\/#website","url":"https:\/\/epicmarketing.co.il\/notebook\/","name":"Code Notebook","description":"Easy coding","publisher":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/epicmarketing.co.il\/notebook\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"he-IL"},{"@type":"Organization","@id":"https:\/\/epicmarketing.co.il\/notebook\/#organization","name":"Code Notebook","url":"https:\/\/epicmarketing.co.il\/notebook\/","logo":{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/logo\/image\/","url":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/07\/logo-epic-marketing-05.png","contentUrl":"https:\/\/epicmarketing.co.il\/notebook\/wp-content\/uploads\/2023\/07\/logo-epic-marketing-05.png","width":3626,"height":1942,"caption":"Code Notebook"},"image":{"@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/epicmarketing.co.il\/notebook\/#\/schema\/person\/195dfc625818eadda7903d456890e24c","name":"kerendanino","image":{"@type":"ImageObject","inLanguage":"he-IL","@id":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/285cc9389c66aa46da1e26a474b1e90e9efaf3fa21f1b928cbd63ce5f0e89c63?s=96&d=mm&r=g","caption":"kerendanino"},"url":"https:\/\/epicmarketing.co.il\/notebook\/author\/kerendanino\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/2273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/comments?post=2273"}],"version-history":[{"count":20,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/2273\/revisions"}],"predecessor-version":[{"id":2302,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/posts\/2273\/revisions\/2302"}],"wp:attachment":[{"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/media?parent=2273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/categories?post=2273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/epicmarketing.co.il\/notebook\/wp-json\/wp\/v2\/tags?post=2273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}