flux-slides



flux-slides

0 0


flux-slides


On Github AntJanus / flux-slides

The Flux Way

A journey from MVC to a better world.

Created by Antonin Januska / @antjanus

About Me

Skip this part if you've read any of my previous slides

  • Web developer for 9-ish years
  • Embraced MV* frameworks since 2012: KnockoutJS, AngularJS, VueJS (briefly) and now, React
  • Developed base AngularJS for Zurb's Foundation for Apps
  • Senior Engineer at Landdox - working with AngularJS and NodeJS
  • Fiction and non-fiction Writer
  • Teacher of technoogies

About Flux

  • Application architecture that's not tied to a library (but associated with ReactJS)
  • alternative to MVC
  • formally described by Facebook to be used with React
  • one-way data flow
  • hella confusing

Prerequisites

  • React - don't know it? Read my guide
  • Javascript + ES6
  • MVC (optional)

Prerequisites

  • React - don't know it? Read my guide
  • Javascript + ES6
  • MVC (optional)

The MVC way (Angular used as an example)

What's the problem with MVC?

  • MVC is GREAT
  • MVC is not so great for front-end applications

  • doesn't deal with evented situations

  • information has to be fetched and re-fetched
  • out-of-sync models are an issue
  • data-flow/lifecycle can be confusing

(I take it back. Flux is just another way of doing things. It's no worse/better)

The Flux Way A journey from MVC to a better world. Created by Antonin Januska / @antjanus