drobtravels / react-flux-redux-talk

Demo of React with Callbacks, Flux, and Redux

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data Handling in React

Callbacks, Flux and Redux

This repository is a demo application shows 3 different patterns of handling data in React. Note that the goal of this repository is to show the concepts behind each pattern, so some of the code is overly vague and should NOT be considered best practice.

First, we start with a simple application using read only data.

Then, we add a new requirement to text back callers. This is not simple because it touches two different domains of the application. See text-from-caller pull request.

We then refactor to Flux to avoid some of the problems associated with the last pull request.

Finally, we will refactor to Redux as an alternative to Flux.

The slides from the talk associated with this code are available on SlideShare or in markdown

About

Demo of React with Callbacks, Flux, and Redux

License:Creative Commons Zero v1.0 Universal


Languages

Language:JavaScript 93.6%Language:HTML 6.0%Language:CSS 0.4%