SlideShare a Scribd company logo
Redux
--Rahil Memon--
Redux ?
● A Predictable state container for JavaScript apps
● Inspired by FLUX.
● BUT WHY State Container ? WHY Redux,
● What Problems does Redux Solve ?
● Let’s Understand it in detail.
COMPONENTS Are Building Blocks of React
Application.
Each Component Represent part of Web App.
React redux-redux-saga-rahil-memon
React redux-redux-saga-rahil-memon
React redux-redux-saga-rahil-memon
React redux-redux-saga-rahil-memon
ToDo App
ToDo App
ToDo App
ToDo App
The component-based approach of React.
The component-based approach of React
and other frontend frameworks like Vue and Angular has changed the way
our web looks like today.
Example, John!
Example, John!
Store
Redux Store, Single source of Truth.
React redux-redux-saga-rahil-memon
Let’s Code Redux.
Store?
● It's just an object with a few methods on it.
● A store holds the whole state tree of your application.
● The only way to change the state inside it is to dispatch an action on it.
Reducer ?
Reducers specify how the application's state changes in response to
actions sent to the store.
Remember that actions only describe what happened, but don't describe how the
application's state changes.
store.dispatch()
Dispatches an action. This is the only way to trigger a state change
store.getState()
Returns the current state tree of your application. It is equal to the last value
returned by the store's reducer.
Connect().
The connect() function connects a React component to a Redux store.
ToDO With Redux
Redux Saga
--Rahil Memon--
Redux Saga.
Redux-saga is a redux middleware library, that is designed to make handling side
effects in your redux app nice and simple.
It achieves this by leveraging an ES6 feature called Generators.
Generators.
Generators, allowing us to write asynchronous code that looks synchronous, and
is very easy to test.
Thank You
--Rahil Memon--

More Related Content

What's hot (20)

PPTX
[Final] ReactJS presentation
洪 鹏发
 
PPTX
React JS - A quick introduction tutorial
Mohammed Fazuluddin
 
PDF
Redux data flow with angular 2
Gil Fink
 
PPTX
Introduction to React JS
Arnold Asllani
 
PPTX
Reducers+flux=redux
Shmulik Chicvashvili
 
ODP
Introduction to ReactJS
Knoldus Inc.
 
PPTX
Introduction to React JS for beginners
Varun Raj
 
PPTX
React-JS Component Life-cycle Methods
ANKUSH CHAVAN
 
PDF
Angular redux
Nir Kaufman
 
PDF
React js use contexts and useContext hook
Piyush Jamwal
 
PDF
React JS & Functional Programming Principles
Andrii Lundiak
 
PPTX
reactJS
Syam Santhosh
 
PPTX
Introduction to React JS for beginners | Namespace IT
namespaceit
 
PPTX
React
manii kanta
 
PPTX
The Benefits of Using React JS for Web Development!
Baharika Sopori
 
PDF
An introduction to React.js
Emanuele DelBono
 
PDF
React.js
Łukasz Kużyński
 
PPTX
Redux in Angular2 for jsbe
Brecht Billiet
 
PPTX
Intro to React.js
Smita Prasad
 
PDF
React.js+Redux Workshops
Marcin Grzywaczewski
 
[Final] ReactJS presentation
洪 鹏发
 
React JS - A quick introduction tutorial
Mohammed Fazuluddin
 
Redux data flow with angular 2
Gil Fink
 
Introduction to React JS
Arnold Asllani
 
Reducers+flux=redux
Shmulik Chicvashvili
 
Introduction to ReactJS
Knoldus Inc.
 
Introduction to React JS for beginners
Varun Raj
 
React-JS Component Life-cycle Methods
ANKUSH CHAVAN
 
Angular redux
Nir Kaufman
 
React js use contexts and useContext hook
Piyush Jamwal
 
React JS & Functional Programming Principles
Andrii Lundiak
 
reactJS
Syam Santhosh
 
Introduction to React JS for beginners | Namespace IT
namespaceit
 
The Benefits of Using React JS for Web Development!
Baharika Sopori
 
An introduction to React.js
Emanuele DelBono
 
Redux in Angular2 for jsbe
Brecht Billiet
 
Intro to React.js
Smita Prasad
 
React.js+Redux Workshops
Marcin Grzywaczewski
 

Similar to React redux-redux-saga-rahil-memon (20)

PPTX
an Introduction to Redux
Amin Ashtiani
 
PPTX
Introduction to Redux.pptx
MohammadImran322154
 
PDF
Using redux
Jonas Ohlsson Aden
 
PPTX
React gsg presentation with ryan jung & elias malik
Lama K Banna
 
PDF
React Redux Interview Questions PDF By ScholarHat
Scholarhat
 
PDF
React Redux Interview Questions PDF By ScholarHat
Scholarhat
 
PDF
The Road To Redux
Jeffrey Sanchez
 
PPTX
U3-02-React Redux and MUI.pptxaSDFGNXDASDFG
vinodkumarthatipamul
 
PDF
ReactRedux.pdf
Arsalan malik
 
PDF
How to Redux
Ted Pennings
 
PDF
Manage the Flux of your Web Application: Let's Redux
Commit University
 
PDF
Redux in Angular 2+
Hùng Nguyễn Huy
 
PDF
Using React, Redux and Saga with Lottoland APIs
Mihail Gaberov
 
PDF
React
Amitai Barnea
 
PDF
Getting started with React and Redux
Paddy Lock
 
PPTX
React js programming concept
Tariqul islam
 
PPTX
Redux Tech Talk
Chathuranga Jayanath
 
PDF
Redux tutorial - intro to Redux by GetLittleTech
Oleg Kosuchin (GetLittleTech)
 
PDF
Redux js
Nils Petersohn
 
PPTX
downloads_introduction to redux.pptx
NavneetKumar111924
 
an Introduction to Redux
Amin Ashtiani
 
Introduction to Redux.pptx
MohammadImran322154
 
Using redux
Jonas Ohlsson Aden
 
React gsg presentation with ryan jung & elias malik
Lama K Banna
 
React Redux Interview Questions PDF By ScholarHat
Scholarhat
 
React Redux Interview Questions PDF By ScholarHat
Scholarhat
 
The Road To Redux
Jeffrey Sanchez
 
U3-02-React Redux and MUI.pptxaSDFGNXDASDFG
vinodkumarthatipamul
 
ReactRedux.pdf
Arsalan malik
 
How to Redux
Ted Pennings
 
Manage the Flux of your Web Application: Let's Redux
Commit University
 
Redux in Angular 2+
Hùng Nguyễn Huy
 
Using React, Redux and Saga with Lottoland APIs
Mihail Gaberov
 
Getting started with React and Redux
Paddy Lock
 
React js programming concept
Tariqul islam
 
Redux Tech Talk
Chathuranga Jayanath
 
Redux tutorial - intro to Redux by GetLittleTech
Oleg Kosuchin (GetLittleTech)
 
Redux js
Nils Petersohn
 
downloads_introduction to redux.pptx
NavneetKumar111924
 
Ad

Recently uploaded (20)

PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PDF
SalesForce Managed Services Benefits (1).pdf
TechForce Services
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
The Past, Present & Future of Kenya's Digital Transformation
Moses Kemibaro
 
PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
PDF
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
PPTX
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
Lecture A - AI Workflows for Banking.pdf
Dr. LAM Yat-fai (林日辉)
 
PDF
Per Axbom: The spectacular lies of maps
Nexer Digital
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Build with AI and GDG Cloud Bydgoszcz- ADK .pdf
jaroslawgajewski1
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
SalesForce Managed Services Benefits (1).pdf
TechForce Services
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
The Past, Present & Future of Kenya's Digital Transformation
Moses Kemibaro
 
Market Insight : ETH Dominance Returns
CIFDAQ
 
The Future of Mobile Is Context-Aware—Are You Ready?
iProgrammer Solutions Private Limited
 
AI Code Generation Risks (Ramkumar Dilli, CIO, Myridius)
Priyanka Aash
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Lecture A - AI Workflows for Banking.pdf
Dr. LAM Yat-fai (林日辉)
 
Per Axbom: The spectacular lies of maps
Nexer Digital
 
Ad

React redux-redux-saga-rahil-memon