Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Overreacting: React as a Paradigm
Search
Eric Sauter
November 17, 2016
Technology
61
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Overreacting: React as a Paradigm
Talk given at November React MD meetup
Eric Sauter
November 17, 2016
More Decks by Eric Sauter
See All by Eric Sauter
A React Native Retrospective
esauter5
0
130
React Native
esauter5
5
170
Other Decks in Technology
See All in Technology
React Nativeでの OTA Updateって、 どう説明する?
ichiki1023
0
140
AI臭い文章とは何なのか
nasuvitz
38
77k
『GOエコノミー 』(相乗りサービス) におけるスペック駆動開発
mot_techtalk
1
220
1万名の社員が使う認証基盤で どう信頼性を担保するか?
kairim0
0
180
KanaAI
shreyas1009
0
140
AIは爆速なのに、私が詰まっていた話 ― 音声入力と鳴くマスコットでボトルネックを削る
yama3133
0
320
IR Today: Theory, Practice, and Agents
dtunkelang
0
330
サーバーフルコンピューティング?AWS Lambda
iwatatomoya
0
130
3人で1000GPU超を統合運用する?マルチクラウド&オンプレを跨ぐ、構築と運用のリアル!
kazukun0716
2
810
Account Factory for Terraformによる 標準化されたアカウント発行の自動化
pensuke628
0
120
覗いてみよう 関数型ビジュアル言語×2Dグラフィックスの世界
yohyamasaki
0
160
AI Made Us Faster at Solving the Wrong Problems
marceloancelmo
0
140
Featured
See All Featured
The Invisible Side of Design
smashingmag
301
52k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
520
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
700
Building the Perfect Custom Keyboard
takai
2
890
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
450
Are puppies a ranking factor?
jonoalderson
2
4k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
310
Skip the Path - Find Your Career Trail
mkilby
1
240
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Believing is Seeing
oripsolob
1
240
Building Adaptive Systems
keathley
44
3.2k
Transcript
Overreacting React as a Paradigm @TheEricSauter Eric Sauter CharmCityJS
None
What is React? A JavaScript Library for Building Web apps
User interfaces Anything
React is a Paradigm
Declarative not Imperative What not How
None
Declarative not Imperative React jQuery button clicked button clicked update
state update state? re-render UI update the p tag text add an li update the bg color updated UI updated UI hide that one tag fire some other event cry wait for jQuery…
One-way data flow
State Event Render Component One-way data flow
No need to touch UI when state changes
No more spaghetti
Composability
<Button />
Simple -> Complex
Container Components (TM)
Higher-order components “A higher order component is just a React
component that wraps another one.” Use for render highjacking, state/props manipulation, and feature enhancement
<HideableButton hidden={true} />
Renderer-agnostic
import React from ‘react’; import ReactDOM from ‘react-dom’; React core
Renderer import React from ‘react’; import ReactNative from ‘react-native’; Renderer
React doesn’t care what you render to
Virtual Representation Render target DOM iOS Canvas Super Nintendo? React
magic Android <View /> render()
“Write once, run anywhere” “Learn once, write anywhere”
Familiar fundamentals Unique platforms
Examples in the wild!
React Native
facebook.github.io/react- native/docs
Victory
formidable.com/open-source/ victory/docs/
React-Three
toxicfork.github.io/react-three- renderer-example
react-hardware
github.com/iamdustan/react- hardware
react-music github.com/ FormidableLabs/ react-music @ken_wheeler
React and its principles make sense when building UIs (and
many other systems). Wrapping up It’s not a coincidence all of these technologies backed by React are popping up.
Eric Sauter www.fixt.co Thank you! @TheEricSauter