Browse Source

explained example

talkol 9 years ago
parent
commit
f444d4fe1e
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      example/src/screens/SideMenu.js

+ 3
- 0
example/src/screens/SideMenu.js View File

@@ -35,6 +35,9 @@ export default class SideMenu extends Component {
35 35
       side: 'left',
36 36
       animated: true
37 37
     });
38
+    // push/pop navigator actions affect the navigation stack of the current screen only.
39
+    // since side menu actions are normally directed at sibling tabs, push/pop will
40
+    // not help us. the recommended alternative is to use deep links for this purpose
38 41
     this.props.navigator.handleDeepLink({
39 42
       link: "tab2/example.PushedScreen"
40 43
     });