Do not yield to javascript generators! - Bruno Godefroy

Tuesday, 22 August 2017

Have you ever found yourself completely lost in front of a yield statement? What is this? Where does my promise go? How come I get the result back?

Generators are widely used amoung Node and javascript libraries to enable developers to write powerful code in a simple way.

I will try to answer all these questions and we will recreate together the co library that is used, for example, in Koajs.

I would then like to go into a step by step decomposition of redux-saga to understand how this wonderful library uses generators.

A bit about me I'm a full stack developer at Theodo UK, a web agency in central London. We help our clients to solve their business problems through code. Our clients range from young startups to large corporates. Twitter: @switcher7707