Man, @yoshuawuyts & co. have done an awesome job with the Choo Framework, way easier to grok than React, Redux etc. Way easier...
I've read up on how sagas work, and the same can be achieved by choo's event emitters - very similar, just no need for generators and stuff
-
-
In https://github.com/sotojuan/saga-login-flow/blob/master/app/sagas/index.js … 'yield take' would be 'emitter.listen()', and 'yield put()' would be 'emitter.emit()' - maps quite well :D
-
Err, I meant emitter.on() - emitter.listen() is not a thing haha
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.