Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The way the generators appear to work reminds me a lot of Concur: https://github.com/ajnsit/concur-documentation

But controlling or understanding the control flow in Crank generator components, ie. when does ‘yield‘ return, looks like a bit of a nightmare!



Which part looks like a nightmare to you?

I wasn’t quiet sure what you mean by “when does yield return”?


“Nightmare” is too strong, but it looks from the simple example that generators are managed by jumping between coroutines, and one of the coroutines is the renderer? (Sorry, I’m on my phone and probably not conveying my point very well)

I’d be interested in seeing this hooked up to Xstate.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: