We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.
'looks promising' (☞゚∀゚)☞
I'm still awaiting for his response
Great article that finally helped me understand what sagas are all about.
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.
Updated the article: http://wecodetheweb.com/201...
When I have some time I will do that :).
Great!
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 })
You're right, typo, fixed it :D Thanks
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?
Added a debounce, it's still not perfect, but is it a bit better for you?
With my scroll mouse it seems perfect. I'll try tonight with my mac touch pad.
Thanks for the feedback, i'll look into it!
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.