From 12961ebc4a91d8a4f58e3872fab8bf709770798a Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 4 Dec 2015 20:17:53 +0000 Subject: [PATCH 1/2] Added clarity around return value of store.dispatch --- docs/api/Store.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/Store.md b/docs/api/Store.md index 326f91a795..923163fb26 100644 --- a/docs/api/Store.md +++ b/docs/api/Store.md @@ -47,7 +47,7 @@ The store’s reducing function will be called with the current [`getState()`](# #### Returns -(Object): The dispatched action. +(Object): The dispatched action or the return value of the middleware chain e.g. a Promise of the dispatch action object. #### Notes From fb7ab0903a81ccf0f569f1f2481540c066f7e612 Mon Sep 17 00:00:00 2001 From: Thomas Date: Fri, 4 Dec 2015 20:48:35 +0000 Subject: [PATCH 2/2] Removed store.dispatch return value details Added a "see notes" so that it's more clear that this return value can change. --- docs/api/Store.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/Store.md b/docs/api/Store.md index 923163fb26..fff1db31df 100644 --- a/docs/api/Store.md +++ b/docs/api/Store.md @@ -47,7 +47,7 @@ The store’s reducing function will be called with the current [`getState()`](# #### Returns -(Object): The dispatched action or the return value of the middleware chain e.g. a Promise of the dispatch action object. +(Object): The dispatched action (see notes). #### Notes