Global Scope '21

Rethinking JavaScript with Generator Functions

About this presentation

Functional programming allows JavaScript that is easier to reason about and easier to test. Generator functions are like enhanced pure functions, allowing new software patterns for state machines, parsers, streaming HTML renderers, and more. They are composable so offer similar benefits to components yet in more domains than just the view.