SlideShare a Scribd company logo
Flux for React
By : Badr Uz Zaman
What is React?
A JavaScript Library to Build UI
Build UI
Respond to Events (events come from where?)
Re-render UI on each change
Flux
 Is an architecture that complements React and the concept of
Unidirectional Data Flow
 Manages Application state with the help of Events
 Uses Dispatcher library and Node Event Emitter module to setup
event system
Flux Components
 Actions
(Helper methods that facilitate passing data to the Dispatcher)
 Dispatcher
(Receives actions and broadcasts payloads to registered
callbacks)
 Stores
(Containers for application state & logic that have callbacks
registered to the dispatcher)
 Controller Views
(React Components that grab the state from Stores and pass it
down via props to child components)
Flux Data Flow
Flux Dispatcher
 The Dispatcher is basically the manager of this entire process.
It is the central hub for your application. The dispatcher
receives actions and dispatches the actions and data to
registered callbacks.
Flux Dispatchers
Flux Store
 In Flux, Stores manage application state for a particular
domain within your application. From a high level, this basically
means that per app section, stores manage the data, data
retrieval methods and dispatcher callbacks.
Flux Store
Flux Controller View
 Controller views are really just React components that listen to
change events and retrieve Application state from Stores.
They then pass that data down to their child components via
props
PuttingAllTogether
• https://scotch.io/tutorials/getting-to-know-flux-the-react-js-
architecture
References
Thank You

More Related Content

PPTX
Flux and React.js
sara stanford
 
PPTX
Flux architecture
Boyan Mihaylov
 
PPT
Building Reactive webapp with React/Flux
Keuller Magalhães
 
PDF
Introduce flux & react in practice
Hsuan Fu Lien
 
PDF
About Flux
Jooyoung Moon
 
PDF
Introduction to React, Flux, and Isomorphic Apps
Federico Torre
 
PPT
Architectural peripherals of react by Vadym Zhiltsov
Lohika_Odessa_TechTalks
 
Flux and React.js
sara stanford
 
Flux architecture
Boyan Mihaylov
 
Building Reactive webapp with React/Flux
Keuller Magalhães
 
Introduce flux & react in practice
Hsuan Fu Lien
 
About Flux
Jooyoung Moon
 
Introduction to React, Flux, and Isomorphic Apps
Federico Torre
 
Architectural peripherals of react by Vadym Zhiltsov
Lohika_Odessa_TechTalks
 

What's hot (20)

PPTX
Ruby on Rails 3
hotrannam
 
PDF
Kentico and MVC
Cheryl MacDonald
 
PDF
Akka - Developing SEDA Based Applications
Benjamin Darfler
 
PPTX
Apache Flink Online Training
Learntek1
 
PPTX
Using MVC with Kentico 8
Thomas Robbins
 
PPTX
Reactive programming intro
Ahmed Ehab AbdulAziz
 
PPTX
Reactive programming
Nick Hodge
 
PPTX
Using the Kentico CMS API
Thomas Robbins
 
PPTX
Functional reactive programming
Ahmed Kamel Taha
 
PPTX
Active mq read and write flow in mule
Ankit Lawaniya
 
PDF
Data science at scale with Kafka and Flink (Razorpay)
KafkaZone
 
PPTX
Mule soft meetup__official__feb-27_2021
sumitahuja94
 
PPTX
4. introduction to Asp.Net MVC - Part II
Rohit Rao
 
PPTX
Getting started with react & redux
Girish Talekar
 
PDF
Transactions in micro-services (fall 2019)
Rudy De Busscher
 
PDF
Robust UI development with ClojureScript
Sandilya Jandhyala
 
PDF
Introduction to reactive programming
Leapfrog Technology Inc.
 
PPT
Taskflow
Joshua Harlow
 
PDF
KnowItPresentation
Chuan Su
 
PDF
Hexagonal Architecture using Grails
David Dawson
 
Ruby on Rails 3
hotrannam
 
Kentico and MVC
Cheryl MacDonald
 
Akka - Developing SEDA Based Applications
Benjamin Darfler
 
Apache Flink Online Training
Learntek1
 
Using MVC with Kentico 8
Thomas Robbins
 
Reactive programming intro
Ahmed Ehab AbdulAziz
 
Reactive programming
Nick Hodge
 
Using the Kentico CMS API
Thomas Robbins
 
Functional reactive programming
Ahmed Kamel Taha
 
Active mq read and write flow in mule
Ankit Lawaniya
 
Data science at scale with Kafka and Flink (Razorpay)
KafkaZone
 
Mule soft meetup__official__feb-27_2021
sumitahuja94
 
4. introduction to Asp.Net MVC - Part II
Rohit Rao
 
Getting started with react & redux
Girish Talekar
 
Transactions in micro-services (fall 2019)
Rudy De Busscher
 
Robust UI development with ClojureScript
Sandilya Jandhyala
 
Introduction to reactive programming
Leapfrog Technology Inc.
 
Taskflow
Joshua Harlow
 
KnowItPresentation
Chuan Su
 
Hexagonal Architecture using Grails
David Dawson
 
Ad

Similar to Flux architecture (20)

PPTX
downloads_introduction to redux.pptx
NavneetKumar111924
 
PPTX
STATE MANAGEMENT IN REACT [Autosaved].pptx
siddheshjadhav919123
 
PPTX
Damian Kmiecik - Road trip with Redux
PROIDEA
 
PDF
An Introduction to Redux
NexThoughts Technologies
 
PPTX
Spfx with react redux
Rajesh Kumar
 
PPTX
Redux
Maulik Shah
 
PPTX
U3-02-React Redux and MUI.pptxaSDFGNXDASDFG
vinodkumarthatipamul
 
PPTX
Getting started with Redux js
Citrix
 
PPTX
iOS Architectures
Hung Hoang
 
PPTX
Redux Like Us
Heber Silva
 
PDF
How do you handle your 'Model' and 'Controller' when developing an iOS app wi...
Kretoss Technology
 
PPTX
Architectural Patterns - Interactive and Event Handling Patterns
assinha
 
PDF
ReactRedux.pdf
Arsalan malik
 
PPTX
React + Redux + TypeScript === ♥
Remo Jansen
 
PDF
React Redux Interview Questions PDF By ScholarHat
Scholarhat
 
PDF
React Redux Interview Questions PDF By ScholarHat
Scholarhat
 
PDF
Content-Driven Apps with React
Netcetera
 
PPTX
Axon Framework, Exploring CQRS and Event Sourcing Architecture
Ashutosh Jadhav
 
PPTX
Redux Tech Talk
Ashoka Chandra Wardhan
 
PPTX
Architecture for monitoring applications in Cloud
Onkar Kadam
 
downloads_introduction to redux.pptx
NavneetKumar111924
 
STATE MANAGEMENT IN REACT [Autosaved].pptx
siddheshjadhav919123
 
Damian Kmiecik - Road trip with Redux
PROIDEA
 
An Introduction to Redux
NexThoughts Technologies
 
Spfx with react redux
Rajesh Kumar
 
U3-02-React Redux and MUI.pptxaSDFGNXDASDFG
vinodkumarthatipamul
 
Getting started with Redux js
Citrix
 
iOS Architectures
Hung Hoang
 
Redux Like Us
Heber Silva
 
How do you handle your 'Model' and 'Controller' when developing an iOS app wi...
Kretoss Technology
 
Architectural Patterns - Interactive and Event Handling Patterns
assinha
 
ReactRedux.pdf
Arsalan malik
 
React + Redux + TypeScript === ♥
Remo Jansen
 
React Redux Interview Questions PDF By ScholarHat
Scholarhat
 
React Redux Interview Questions PDF By ScholarHat
Scholarhat
 
Content-Driven Apps with React
Netcetera
 
Axon Framework, Exploring CQRS and Event Sourcing Architecture
Ashutosh Jadhav
 
Redux Tech Talk
Ashoka Chandra Wardhan
 
Architecture for monitoring applications in Cloud
Onkar Kadam
 
Ad

Recently uploaded (20)

PDF
ChatPharo: an Open Architecture for Understanding How to Talk Live to LLMs
ESUG
 
PDF
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
PPTX
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
PPTX
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
PDF
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
PPT
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
PDF
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
PDF
Protecting the Digital World Cyber Securit
dnthakkar16
 
PDF
vAdobe Premiere Pro 2025 (v25.2.3.004) Crack Pre-Activated Latest
imang66g
 
PDF
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
PPTX
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
PDF
An Experience-Based Look at AI Lead Generation Pricing, Features & B2B Results
Thomas albart
 
PDF
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
PDF
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
PDF
Balancing Resource Capacity and Workloads with OnePlan – Avoid Overloading Te...
OnePlan Solutions
 
PDF
Exploring AI Agents in Process Industries
amoreira6
 
PPT
Activate_Methodology_Summary presentatio
annapureddyn
 
PDF
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
Abilash868456
 
DOCX
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
PDF
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
ChatPharo: an Open Architecture for Understanding How to Talk Live to LLMs
ESUG
 
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
What to consider before purchasing Microsoft 365 Business Premium_PDF.pdf
Q-Advise
 
Why Reliable Server Maintenance Service in New York is Crucial for Your Business
Sam Vohra
 
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
Protecting the Digital World Cyber Securit
dnthakkar16
 
vAdobe Premiere Pro 2025 (v25.2.3.004) Crack Pre-Activated Latest
imang66g
 
MiniTool Power Data Recovery Crack New Pre Activated Version Latest 2025
imang66g
 
Odoo Integration Services by Candidroot Solutions
CandidRoot Solutions Private Limited
 
An Experience-Based Look at AI Lead Generation Pricing, Features & B2B Results
Thomas albart
 
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
Salesforce Implementation Services Provider.pdf
VALiNTRY360
 
Balancing Resource Capacity and Workloads with OnePlan – Avoid Overloading Te...
OnePlan Solutions
 
Exploring AI Agents in Process Industries
amoreira6
 
Activate_Methodology_Summary presentatio
annapureddyn
 
49785682629390197565_LRN3014_Migrating_the_Beast.pdf
Abilash868456
 
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 

Flux architecture

Editor's Notes