From e8b1963db05c2f21d631ef080e9eaec1cd3533f7 Mon Sep 17 00:00:00 2001 From: anish000kumar Date: Sat, 13 Jan 2018 14:57:47 +0530 Subject: [PATCH] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index e37df31..b8c6e85 100644 --- a/readme.md +++ b/readme.md @@ -108,7 +108,7 @@ export default createSagas({ } }) ``` -Above code means when SET_USER_NAME action is dispatched anywhere in the app, run the saga mentioned against it. Also, notice the `latest` modifier alongside the action name. It's equivalent of `takeLatest` from 'redux-saga'. You can also use `every` which would produce the same effect as `takeEvery` from 'redux-saga'. +Above code means when GET_ORDERS_LIST action is dispatched anywhere in the app, run the saga mentioned against it. Also, notice the `latest` modifier alongside the action name. It's equivalent of `takeLatest` from 'redux-saga'. You can also use `every` which would produce the same effect as `takeEvery` from 'redux-saga'. ## 4. index.js It's the heart of a module which binds all the pieces together. It exports two things : a module and a container (which will be used in any component where you need this module).