From 0254583175bbb43a0dc66ad8236a3cde404f79ae Mon Sep 17 00:00:00 2001 From: Erivelton Elias Date: Wed, 12 Dec 2018 11:39:47 -0200 Subject: [PATCH 1/2] update NavigationActions reference --- docs/navigation-actions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/navigation-actions.md b/docs/navigation-actions.md index b84f071404e..a958c5f124d 100644 --- a/docs/navigation-actions.md +++ b/docs/navigation-actions.md @@ -8,6 +8,8 @@ All `NavigationActions` return an object that can be sent to the router using `n Note that if you want to dispatch react-navigation actions you should use the action creators provided in this library. +It's important to highlight the `NavigationActions` don't throw errors or anything when they are unhandled ( similar to how when you dispatch an action that isn't handled by a reducer in redux and nothing happens ). However, if the app state doesn't change as a result of dispatch then the return value for dispatch is `false` and `true` otherwise. + The following actions are supported: * [Navigate](#navigate) - Navigate to another route From 75380d97489a18a112d028822ae7c38f55ea65c3 Mon Sep 17 00:00:00 2001 From: Vojtech Novak Date: Tue, 18 Dec 2018 09:33:01 +0100 Subject: [PATCH 2/2] Update navigation-actions.md --- docs/navigation-actions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/navigation-actions.md b/docs/navigation-actions.md index a958c5f124d..73c036c449e 100644 --- a/docs/navigation-actions.md +++ b/docs/navigation-actions.md @@ -8,7 +8,7 @@ All `NavigationActions` return an object that can be sent to the router using `n Note that if you want to dispatch react-navigation actions you should use the action creators provided in this library. -It's important to highlight the `NavigationActions` don't throw errors or anything when they are unhandled ( similar to how when you dispatch an action that isn't handled by a reducer in redux and nothing happens ). However, if the app state doesn't change as a result of dispatch then the return value for dispatch is `false` and `true` otherwise. +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. The following actions are supported: