SlideShare une entreprise Scribd logo
1  sur  25
Télécharger pour lire hors ligne
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

Contenu connexe

Plus de 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
 

Plus de 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
 

Dernier

Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 

Dernier (20)

Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx