We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

housecor • 9 years ago

Great article! Update on your headline: "Why not use ES2016/Next async await?":

async/await didn't make it into ES2016 but looks promising for ES2017.

Christian Kaisermann • 8 years ago

'looks promising' (☞゚∀゚)☞

Vitor Paladini • 8 years ago

I'm still awaiting for his response

Steven Van Eenoo • 9 years ago

Great article that finally helped me understand what sagas are all about.

BS-Harou • 9 years ago

Would you consider updating the examples based on latest redux-saga? E.g. it is no longer possible to pass root saga directly to the saga middleware factory.

Niels • 9 years ago

Updated the article: http://wecodetheweb.com/201...

Niels • 9 years ago

When I have some time I will do that :).

BS-Harou • 9 years ago

Great!

mikekidder • 9 years ago

Niels great article, especially on your last point on testing Async/Await comparison.
In your Nesting Sagas code sample:
const { err, res } = yield call(request, 'POST', '/scores', { score })
shouldn't it be:
const { err, res } = yield call(requestSaga, 'POST', '/scores', { score })

Niels • 9 years ago

You're right, typo, fixed it :D Thanks

AgilityNerd • 9 years ago

Great article - really helped me understand sagas. FYI - the website's nav seems to drop down and hide the text when scrolling down (in Chrome) and interferes with reading the article; it does it almost randomly - even if I carefully avoid any upward scrolling. Maybe debounce the scroll events?

Niels • 9 years ago

Added a debounce, it's still not perfect, but is it a bit better for you?

AgilityNerd • 9 years ago

With my scroll mouse it seems perfect. I'll try tonight with my mac touch pad.

Niels • 9 years ago

Thanks for the feedback, i'll look into it!