ReactFoo 2017

A conference on React

Kushan Joshi

@kepta

Better Async with Redux Saga

Submitted Jun 15, 2017

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.

Slides

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

Comments

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

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

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

A community - for and of - front-end engineers to share experiences with ReactJS, performant apps with React, crafting better User Interfaces (UI) with React and GraphQL ecosystem. ReactFoo also discusses design patterns and user experience. more