Initially, I was very excited about both promises and generators, but now that I’ve been living with them for a while, I haven’t found a lot of good use cases for generators in my real application code. For most use-cases I might use generators for, I reach for RxJS instead because of it’s much richer API.

More from Eric Elliott

View all quotes →