Skip to content

Commit 1224a63

Browse files
eriveltoneliasvonovak
authored andcommitted
update NavigationActions reference (#321)
* update NavigationActions reference * Update navigation-actions.md
1 parent ca0da5a commit 1224a63

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/navigation-actions.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ All `NavigationActions` return an object that can be sent to the router using `n
88

99
Note that if you want to dispatch react-navigation actions you should use the action creators provided in this library.
1010

11+
It's important to highlight that dispatching a `NavigationAction` doesn't throw any error when the action is unhandled (similar to when you dispatch an action that isn't handled by a reducer in redux and nothing happens). However, if the app state changes as a result of a dispatch then the return value of the dispatch is `true` and `false` otherwise.
12+
1113
The following actions are supported:
1214

1315
* [Navigate](#navigate) - Navigate to another route

0 commit comments

Comments
 (0)