ReactFoo 2017

A conference on React

Better Async with Redux Saga

Submitted by Kushan Joshi (@kepta) on Jun 15, 2017

Section: Crisp Talk Technical level: Intermediate Status: Confirmed & scheduled

Abstract

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

Preview video

https://www.youtube.com/watch?v=FhR1zr1HOq4

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('You need to be a participant to comment.') }}

{{ formTitle }}
{{ gettext('Post a comment...') }}
{{ gettext('New comment') }}

{{ errorMsg }}