SlideShare a Scribd company logo
1 of 25
Download to read offline
MovingfromStateful
Componentsto
StatelessComponents
or:
WhentoAbandonsetState
Andre Bluehs
Andre
Something Something Frontend
helloandre
Whoisthistalkingatme?
Me:
Know ReactJS
Know Redux
Had A Problem
You:
Have heard of this.setState
Know Something That You Can Use As A Store
Enjoy Semi-Justifiable Refactors
What’sallthisnow?
It Made Sense At The Time
Just The Two Of US
Player Three Has Entered The Game
Juggling Act
Frankie Say Redux
HighPoints
ItMadeSenseAtTheTime
Let’sBuildAReport
Let’sBuildAReport
Let’sBuildAReport
JustTheTwoOfUs
Let’sDisplayAReport
Let’sDisplayAReport
Let’sEditAReport
PlayerThreeHasEnteredTheGame
Wheredidallthesereportscomefrom?
You’reGonnaDoWhat?
JugglingAct
YouAskedForIt
TheLoadinging
FrankieSayRedux
V1,gettingwarmer
V2,that’smorelikeit
NormalizedData,likeit’s1995
🙌 🙌 🙌 🙌 🙌 🙌 🙌 🙌
“setStateisfine.it’sFINE.”
Andre Bluehs | June 15th, 2017
Q&A
Andre Bluehs

More Related Content

More from Percolate

7 Project Management Tips from Across Disciplines
7 Project Management Tips from Across Disciplines7 Project Management Tips from Across Disciplines
7 Project Management Tips from Across DisciplinesPercolate
 
Content Strategy in a Changing World
Content Strategy in a Changing WorldContent Strategy in a Changing World
Content Strategy in a Changing WorldPercolate
 
Pratt Parser in Python
Pratt Parser in PythonPratt Parser in Python
Pratt Parser in PythonPercolate
 
Moving From MySQL to Elasticsearch for Analytics
Moving From MySQL to Elasticsearch for AnalyticsMoving From MySQL to Elasticsearch for Analytics
Moving From MySQL to Elasticsearch for AnalyticsPercolate
 
Percolate: Content Marketing 360: From Planning to Performance
Percolate: Content Marketing 360: From Planning to PerformancePercolate: Content Marketing 360: From Planning to Performance
Percolate: Content Marketing 360: From Planning to PerformancePercolate
 
The 50 Most Important Marketing Charts of 2016
The 50 Most Important Marketing Charts of 2016The 50 Most Important Marketing Charts of 2016
The 50 Most Important Marketing Charts of 2016Percolate
 
The Secret to Brand Growth? Mental and Physical Availability
The Secret to Brand Growth? Mental and Physical AvailabilityThe Secret to Brand Growth? Mental and Physical Availability
The Secret to Brand Growth? Mental and Physical AvailabilityPercolate
 
Advertising for the Long Term
Advertising for the Long TermAdvertising for the Long Term
Advertising for the Long TermPercolate
 
Be Distinctive, Not Different
Be Distinctive, Not DifferentBe Distinctive, Not Different
Be Distinctive, Not DifferentPercolate
 
Why Mass Marketing Wins Over Targeted Efforts
Why Mass Marketing Wins Over Targeted EffortsWhy Mass Marketing Wins Over Targeted Efforts
Why Mass Marketing Wins Over Targeted EffortsPercolate
 
Small vs. Large Brands: How to Become a Market Leader
Small vs. Large Brands: How to Become a Market LeaderSmall vs. Large Brands: How to Become a Market Leader
Small vs. Large Brands: How to Become a Market LeaderPercolate
 
11 Charts that Predict the Future of Marketing
11 Charts that Predict the Future of Marketing11 Charts that Predict the Future of Marketing
11 Charts that Predict the Future of MarketingPercolate
 
Percolate's Company Values
Percolate's Company ValuesPercolate's Company Values
Percolate's Company ValuesPercolate
 
7 Lessons Marketers Can Learn From MasterCard to become a Global Publishing P...
7 Lessons Marketers Can Learn From MasterCard to become a Global Publishing P...7 Lessons Marketers Can Learn From MasterCard to become a Global Publishing P...
7 Lessons Marketers Can Learn From MasterCard to become a Global Publishing P...Percolate
 
How Much Does Marketing Really Cost?
How Much Does Marketing Really Cost?How Much Does Marketing Really Cost?
How Much Does Marketing Really Cost?Percolate
 
Technology Macro Trends - What Marketers Need to Know in 2014
Technology Macro Trends - What Marketers Need to Know in 2014Technology Macro Trends - What Marketers Need to Know in 2014
Technology Macro Trends - What Marketers Need to Know in 2014Percolate
 
State of Content Marketing
State of Content MarketingState of Content Marketing
State of Content MarketingPercolate
 
How Percolate uses CFEngine to Manage AWS Stateless Infrastructure
How Percolate uses CFEngine to Manage AWS Stateless InfrastructureHow Percolate uses CFEngine to Manage AWS Stateless Infrastructure
How Percolate uses CFEngine to Manage AWS Stateless InfrastructurePercolate
 
IPG Media Lab's Jack Pollock presents employees as signals at Percolate's #SP...
IPG Media Lab's Jack Pollock presents employees as signals at Percolate's #SP...IPG Media Lab's Jack Pollock presents employees as signals at Percolate's #SP...
IPG Media Lab's Jack Pollock presents employees as signals at Percolate's #SP...Percolate
 
Building Community with American Express OPEN
Building Community with American Express OPENBuilding Community with American Express OPEN
Building Community with American Express OPENPercolate
 

More from Percolate (20)

7 Project Management Tips from Across Disciplines
7 Project Management Tips from Across Disciplines7 Project Management Tips from Across Disciplines
7 Project Management Tips from Across Disciplines
 
Content Strategy in a Changing World
Content Strategy in a Changing WorldContent Strategy in a Changing World
Content Strategy in a Changing World
 
Pratt Parser in Python
Pratt Parser in PythonPratt Parser in Python
Pratt Parser in Python
 
Moving From MySQL to Elasticsearch for Analytics
Moving From MySQL to Elasticsearch for AnalyticsMoving From MySQL to Elasticsearch for Analytics
Moving From MySQL to Elasticsearch for Analytics
 
Percolate: Content Marketing 360: From Planning to Performance
Percolate: Content Marketing 360: From Planning to PerformancePercolate: Content Marketing 360: From Planning to Performance
Percolate: Content Marketing 360: From Planning to Performance
 
The 50 Most Important Marketing Charts of 2016
The 50 Most Important Marketing Charts of 2016The 50 Most Important Marketing Charts of 2016
The 50 Most Important Marketing Charts of 2016
 
The Secret to Brand Growth? Mental and Physical Availability
The Secret to Brand Growth? Mental and Physical AvailabilityThe Secret to Brand Growth? Mental and Physical Availability
The Secret to Brand Growth? Mental and Physical Availability
 
Advertising for the Long Term
Advertising for the Long TermAdvertising for the Long Term
Advertising for the Long Term
 
Be Distinctive, Not Different
Be Distinctive, Not DifferentBe Distinctive, Not Different
Be Distinctive, Not Different
 
Why Mass Marketing Wins Over Targeted Efforts
Why Mass Marketing Wins Over Targeted EffortsWhy Mass Marketing Wins Over Targeted Efforts
Why Mass Marketing Wins Over Targeted Efforts
 
Small vs. Large Brands: How to Become a Market Leader
Small vs. Large Brands: How to Become a Market LeaderSmall vs. Large Brands: How to Become a Market Leader
Small vs. Large Brands: How to Become a Market Leader
 
11 Charts that Predict the Future of Marketing
11 Charts that Predict the Future of Marketing11 Charts that Predict the Future of Marketing
11 Charts that Predict the Future of Marketing
 
Percolate's Company Values
Percolate's Company ValuesPercolate's Company Values
Percolate's Company Values
 
7 Lessons Marketers Can Learn From MasterCard to become a Global Publishing P...
7 Lessons Marketers Can Learn From MasterCard to become a Global Publishing P...7 Lessons Marketers Can Learn From MasterCard to become a Global Publishing P...
7 Lessons Marketers Can Learn From MasterCard to become a Global Publishing P...
 
How Much Does Marketing Really Cost?
How Much Does Marketing Really Cost?How Much Does Marketing Really Cost?
How Much Does Marketing Really Cost?
 
Technology Macro Trends - What Marketers Need to Know in 2014
Technology Macro Trends - What Marketers Need to Know in 2014Technology Macro Trends - What Marketers Need to Know in 2014
Technology Macro Trends - What Marketers Need to Know in 2014
 
State of Content Marketing
State of Content MarketingState of Content Marketing
State of Content Marketing
 
How Percolate uses CFEngine to Manage AWS Stateless Infrastructure
How Percolate uses CFEngine to Manage AWS Stateless InfrastructureHow Percolate uses CFEngine to Manage AWS Stateless Infrastructure
How Percolate uses CFEngine to Manage AWS Stateless Infrastructure
 
IPG Media Lab's Jack Pollock presents employees as signals at Percolate's #SP...
IPG Media Lab's Jack Pollock presents employees as signals at Percolate's #SP...IPG Media Lab's Jack Pollock presents employees as signals at Percolate's #SP...
IPG Media Lab's Jack Pollock presents employees as signals at Percolate's #SP...
 
Building Community with American Express OPEN
Building Community with American Express OPENBuilding Community with American Express OPEN
Building Community with American Express OPEN
 

Recently uploaded

Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdfankushspencer015
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 

Recently uploaded (20)

Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing