ReactFoo 2017

A conference on React

Better Async with Redux Saga

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

videocam
Preview video

Technical level

Intermediate

Section

Crisp Talk

Status

Confirmed & Scheduled

View proposal in schedule

Vote on this proposal

Login to vote

Total votes:  +14

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://youtu.be/FhR1zr1HOq4

Comments

  • 1
    Siddharth Kshetrapal (@sidkp) a year ago

    Hi,

    This can be a really interesting talk!

    Can you please add more details to your slides and a 2 minute video on what are you going to talk about. That would help us a lot.

    - reactfoo team

Login with Twitter or Google to leave a comment