ReactFoo 2017

A conference on React

Up next

Better Async with Redux Saga

KJ

Kushan Joshi

@kepta

This talk would assume basic familiarity with Redux. I would use half of the talk to explain what are generator functions. Generators are very different from anything javascript has had in the past. This turns off many people to adopt Redux Sagas as each heavily relies on generators.
The remaining half I will cover how we handle async actions in projects at Mapbox. The problem with redux-thunk and how Redux saga helps convert async control flow to a more synchronous like control flow.

Outline

  • Generator Functions
  • Simple Example
  • Complex Exampe of Generator
  • Redux Saga Introduction
  • Saga helper functions
  • Complex Async Example
  • Testing Sagas

Requirements

The participants must be familiar with Redux.

Speaker bio

Kushan is a developer at Mapbox working on tools to scale our mapping and validation processes.

Kushan is one of the core developers of the OpenStreetMap iD editor. He is passionate about open source software and holds a bachelor’s degree in computer science.

In his free time, Kushan likes to read science fiction, play Civilization, and watch anime.

Links

Slides

https://speakerdeck.com/kepta/better-async-redux-saga

Comments