Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
React for Poets
Search
Nathan Hunzaker
April 09, 2015
Programming
0
130
React for Poets
A very high level look at React
Nathan Hunzaker
April 09, 2015
Tweet
Share
More Decks by Nathan Hunzaker
See All by Nathan Hunzaker
Introduction to React - Triangle.rb May 2015
nhunzaker
0
200
What is React?
nhunzaker
7
800
Other Decks in Programming
See All in Programming
Oxlintはいいぞ
yug1224
5
1.3k
SourceGeneratorのススメ
htkym
0
190
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
610
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
680
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
Implementation Patterns
denyspoltorak
0
280
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
170
Package Management Learnings from Homebrew
mikemcquaid
0
210
Grafana:建立系統全知視角的捷徑
blueswen
0
330
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
540
Featured
See All Featured
Un-Boring Meetings
codingconduct
0
200
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
110
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
sira's awesome portfolio website redesign presentation
elsirapls
0
150
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
65
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
120
The Spectacular Lies of Maps
axbom
PRO
1
520
Speed Design
sergeychernyshev
33
1.5k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
96
How to train your dragon (web standard)
notwaldorf
97
6.5k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
Transcript
React for Poets
• What React it is • Why we like it
• What React isn't
What is React?
React is a JavaScript library for building user interfaces.
"How should the user interface be built, and how should
it update?"
It forces a developer to break up their user interface
into small components.
<Blogs/> <Navigation/> <Posts/> <Post/> <Post/> <Post/> <Post/>
Compo(sition,nents) "React is all about building reusable components. In fact,
with React the only thing you do is build components." - facebook.github.io/react
None
Component Tree
Build a component tree Compare to old data Determine fastest
update method Update page Data
State changed! So what...
Define Interface Change Data • Each change updates the user
interface • Data only goes in one direction (down)
Why I like React
Trouble in Paradise
• Web applications • Pages with frequent UI updates •
Things the browser can't do on its own JS apps are great for:
• Page load times • Handling critical errors • Mobile
performance Challenges with JS Apps:
None
Why I like React
Server side rendering
None
• Responsive page loads • More strategies for handling failure
(not just blank screens) With server side rendering:
None
None
Page Load Boot App Server
Mobile performance
• Designed for low memory devices • Hyper efficient page
updates • Stress tested on millions of devices on sites such as facebook.com, airbnb.com, and bbc.com
It's not the right tool for everything
• Sites with only few interactions • Simple content oriented
sites • Handoff projects where the maintainer is not familiar with JavaScript development • Server-side rendering requires NodeJS expertise React is not ideal for:
React is exciting
Break down UI into components
Addresses a lot of JS issues
None
Thanks! Nate Hunzaker @natehunzaker