Flux

Watch User Created Playlist (9)

This playlist is user created.

pro-course-rss-logo

PRO RSS Feed

React Flux: Development Environment Setup

React Flux: Overview and Dispatchers

React Flux: Actions

P

React Flux: Stores

P

React Flux: Components/Views

P

React Flux: Project Organization

P

React Flux: Routing with react-router-component

P

React Flux: Remove Duplicate Code with Mixins

P

React Flux: Wrapping Up

P
react tutorial about React Flux: Development Environment Setup

React Flux: Development Environment Setup

7:47 react

Our build process during this series will utilize both gulp and browserify. In this lesson we will take a moment to setup our environment and all of the tooling required to begin developing our Flux Application. We've kept the build process very simple so porting it to grunt should be a breeze, but this also serves as a simple primer for those who may not be familiar with gulp.

react tutorial about React Flux: Overview and Dispatchers

React Flux: Overview and Dispatchers

4:24 react

Flux has four major components: Stores, Dispatchers, Views, and Actions. These components interact less like a typical MVC and more like an Event Bus. In this lesson we will start by creating our Dispatcher which queues up our Actions as Promises and executes them as they are received. We'll also create an AppDispatcher which, unlike the Dispatcher, is more specific to our application.

react tutorial about React Flux: Actions

React Flux: Actions

4:37 react PRO

Actions contain no functionality, but rather describe an event in our application. In this lesson we will describe our Actions as they relate to our application. These Actions will then be available for triggering in our Views and for execution in our Store.

react tutorial about React Flux: Stores

React Flux: Stores

6:03 react PRO

Stores are where the real work in our application is done. Dispatchers broadcast Actions to all Stores, and the Stores registered to listen for those Actions will perform any logic needed to update our Views. In this lesson we will establish our first Store and register the Actions we wish to respond to.

react tutorial about React Flux: Components/Views

React Flux: Components/Views

9:39 react PRO

In Flux our Components are referred to as Views, but they are the same familiar Components associated with any React development. In Flux, however, we have the benefit of the architecture to keep us from having to pass down through a long chain of children Components any functionality that may be embedded in our Stores. In this Lesson we will wire up all of our Components in record time utilizing the architecture we've already established.

react tutorial about React Flux: Project Organization

React Flux: Project Organization

5:15 react PRO

Organizing modules and components is a critical aspect of the development of any single-page web application (SPA). In this lesson we will look at refactoring the Flux React store into a more module structure.

react tutorial about React Flux: Routing with react-router-component

React Flux: Routing with react-router-component

5:10 react PRO

By default, React doesn't have built in routing. We will add routing to our application with the react-routing-component.

react tutorial about React Flux: Remove Duplicate Code with Mixins

React Flux: Remove Duplicate Code with Mixins

3:29 react PRO

As your React Flux application grows, it is inevitable that you start to see functionality and code repeated. With React, you can easily keep things DRY by using mixins.

react tutorial about React Flux: Wrapping Up

React Flux: Wrapping Up

9:13 react PRO

With this lesson, we will bring it all together, using what we've learned in the series to fisnish out the React Flux architecture example.

The completed code for this series can be found here on Github.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?