SlideShare a Scribd company logo
Intro to Flux
Damian Legawiec
CEO of Spark Solutions
@damianlegawiec
What is Flux?
Framework?
What is Flux?
Framework?
Library?
What is Flux?
Framework?
Library? Kinda :)
What is Flux?
Architecture Pattern
What is Flux?
Architecture Pattern
One Way Data Binding
What is Flux?
Architecture Pattern
One Way Data Binding
Framework Agnostic
What is Flux?
Architecture Pattern
One Way Data Binding
Framework Agnostic
Not MVC :)
What is Flux?
Store
Model?
Store
Model?
Store
Model?
Collection?
Store
Model?
Collection?
Store
Application State Container
Store
Application State Container
Can be used with ORM
Store
Application State Container
Can be used with ORM
Simple JavaScript object enhanced by EventEmitter
or MicroEvent
Actions
Used to invoke Change of state
Actions
Used to invoke Change of state
Invoked from Views (Components in React)
Actions
Actions
Used to invoke Change of state
Invoked from Views (Components in React)
They pass arguments (payload) to Dispatcher
Actions
Dispatcher
There can be only one!
Actions
Dispatcher
There can be only one!
Dispatches Actions to the Store
DispatcherActions
Smart Components
Aware of Store
Smart Components
Aware of Store
Listen for Store change
Smart Components
Aware of Store
Listen for Store change
Data is in State
Smart Components
Aware of Store
Listen for Store change
Data is in State
Pass data via props to Dumb Components
Dumb Components
Only display data passed in props
Single Page App Example
https://greetabl.com/builder
Web App Example
https://milanstyle.com
When to use Flux?
Single Page App
Complex UI
Real World apps :)
When not to use Flux?
Learning React :)
Simple components enhancing static site
What is Flux implementation use?
Short Answer
REDUX
What is Flux implementation use?
Long Answer
What is Flux implementation use?
1. Start with official Facebook one
2. Choose between more conventional
ones (Reflux, Alt) or bleeding edge
Redux
Future reading List
1. https://facebook.github.io/flux/docs/o
verview.html#content
2. http://blog.andrewray.me/flux-for-
stupid-people/
Thanks for your attention!

More Related Content

What's hot (20)

PDF
An Overview of the React Ecosystem
FITC
 
PDF
Introduction to react
kiranabburi
 
PDF
Thinking in React
Xcat Liu
 
PPTX
React. Flux. Redux
Andrey Kolodnitsky
 
PPTX
Flux architecture
Boyan Mihaylov
 
PDF
Workshop React.js
Commit University
 
PPTX
React and Flux life cycle with JSX, React Router and Jest Unit Testing
Eswara Kumar Palakollu
 
PPT
React js
Jai Santhosh
 
PDF
Best Practice-React
Yang Yang
 
PDF
Redux js
Nils Petersohn
 
PPTX
React.js - The Dawn of Virtual DOM
Jimit Shah
 
PDF
React + Redux for Web Developers
Jamal Sinclair O'Garro
 
PPTX
React in Native Apps - Meetup React - 20150409
Minko3D
 
PPTX
ReactJS.NET - Fast and Scalable Single Page Applications
Rick Beerendonk
 
PDF
Understanding Facebook's React.js
Federico Torre
 
PDF
Using redux
Jonas Ohlsson Aden
 
PDF
The Road To Redux
Jeffrey Sanchez
 
PPT
Flux architecture
Badr Zaman [Front End , J2EE ]
 
PPTX
Rethinking Best Practices
floydophone
 
An Overview of the React Ecosystem
FITC
 
Introduction to react
kiranabburi
 
Thinking in React
Xcat Liu
 
React. Flux. Redux
Andrey Kolodnitsky
 
Flux architecture
Boyan Mihaylov
 
Workshop React.js
Commit University
 
React and Flux life cycle with JSX, React Router and Jest Unit Testing
Eswara Kumar Palakollu
 
React js
Jai Santhosh
 
Best Practice-React
Yang Yang
 
Redux js
Nils Petersohn
 
React.js - The Dawn of Virtual DOM
Jimit Shah
 
React + Redux for Web Developers
Jamal Sinclair O'Garro
 
React in Native Apps - Meetup React - 20150409
Minko3D
 
ReactJS.NET - Fast and Scalable Single Page Applications
Rick Beerendonk
 
Understanding Facebook's React.js
Federico Torre
 
Using redux
Jonas Ohlsson Aden
 
The Road To Redux
Jeffrey Sanchez
 
Rethinking Best Practices
floydophone
 

Similar to Intro to Flux - ReactJS Warsaw #1 (20)

PDF
An Introduction to Redux
NexThoughts Technologies
 
PPTX
React gsg presentation with ryan jung & elias malik
Lama K Banna
 
PDF
Java Hurdling: Obstacles and Techniques in Java Client Penetration-Testing
Tal Melamed
 
ODP
Intro to Muon - How to build Polyglot Message and Event Microservices
David Dawson
 
PPTX
Introduction to Spring sec1.pptx
NourhanTarek23
 
PDF
Redux data flow with angular
Gil Fink
 
PDF
Advanced web application architecture Way2Web
Matthias Noback
 
PDF
Redux data flow with angular 2
Gil Fink
 
PPT
Capsulization of Oracle Inventory
iWare Logic Technologies Pvt. Ltd.
 
PPTX
Spring 1 day program
Mohit Kanwar
 
PDF
Building React Applications with Redux
FITC
 
PPTX
Academy PRO: React JS. Redux & Tooling
Binary Studio
 
PDF
Spring mvc
Hamid Ghorbani
 
PDF
Redux data flow with angular
Gil Fink
 
PPTX
Scaling React and Redux at IOOF
Vivian Farrell
 
PDF
Swiz DAO
devaraj ns
 
PPTX
downloads_introduction to redux.pptx
NavneetKumar111924
 
PDF
Introduction to React, Flux, and Isomorphic Apps
Federico Torre
 
PDF
Optimizing Spark Deployments for Containers: Isolation, Safety, and Performan...
Spark Summit
 
PPT
Architectural Patterns and Software Architectures: Client-Server, Multi-Tier,...
Svetlin Nakov
 
An Introduction to Redux
NexThoughts Technologies
 
React gsg presentation with ryan jung & elias malik
Lama K Banna
 
Java Hurdling: Obstacles and Techniques in Java Client Penetration-Testing
Tal Melamed
 
Intro to Muon - How to build Polyglot Message and Event Microservices
David Dawson
 
Introduction to Spring sec1.pptx
NourhanTarek23
 
Redux data flow with angular
Gil Fink
 
Advanced web application architecture Way2Web
Matthias Noback
 
Redux data flow with angular 2
Gil Fink
 
Capsulization of Oracle Inventory
iWare Logic Technologies Pvt. Ltd.
 
Spring 1 day program
Mohit Kanwar
 
Building React Applications with Redux
FITC
 
Academy PRO: React JS. Redux & Tooling
Binary Studio
 
Spring mvc
Hamid Ghorbani
 
Redux data flow with angular
Gil Fink
 
Scaling React and Redux at IOOF
Vivian Farrell
 
Swiz DAO
devaraj ns
 
downloads_introduction to redux.pptx
NavneetKumar111924
 
Introduction to React, Flux, and Isomorphic Apps
Federico Torre
 
Optimizing Spark Deployments for Containers: Isolation, Safety, and Performan...
Spark Summit
 
Architectural Patterns and Software Architectures: Client-Server, Multi-Tier,...
Svetlin Nakov
 
Ad

Recently uploaded (20)

PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
CIFDAQ Weekly Market Wrap for 11th July 2025
CIFDAQ
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Ad

Intro to Flux - ReactJS Warsaw #1