Re:Things every React.js beginner should know
by camjackson on Monday January 25, 2016 @07:43AM
(#10966842)
Should be back up now!
[ Parent
| on HN ]
Re:Things every React.js beginner should know
by darrhiggs on Monday January 25, 2016 @07:49AM
(#10966861)
Hey, thanks for this.
With regards to redux-thunk, have you taken a look at redux-saga[0]? Any thoughts?
Re:Things every React.js beginner should know
by camjackson on Monday January 25, 2016 @07:58AM
(#10966896)
I've seen it mentioned by a few people, including Redux creator Dan Abramov (who is very open about tweeting links to 'competing' libraries!), but I've only taken a brief look so far.
My initial impression is that it seems really interesting, although I wonder if the use of generators will scare people away. Many devs are already exhausted with the number of new JavaScript features they're being told to learn.
I definitely want to dig a bit deeper and try it out properly though.
Re:Things every React.js beginner should know
by acemarke on Monday January 25, 2016 @10:06AM
(#10967525)
Best comparison I've seen so far is that it's sort of like "background processing threads for Redux". The downside is that it might not mix well with time-travel debugging, because a saga effectively has its own internal state.
That said, Dan Abramov does seem to think it's a very intriguing approach, so it's worth keeping an eye on.