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
100
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
140
What is React?
nhunzaker
7
730
Other Decks in Programming
See All in Programming
Netty Chicago Java User Group 2024-04-17
sullis
0
170
StoreKit2によるiOSのアプリ内課金のリニューアル
kangnux
0
110
ONE WEDGE_company_guide
1wedge_one
0
470
GraphQLサーバの構成要素を整理する #ハッカー鮨 #tsukijigraphql / graphql server technology selection
izumin5210
4
820
PostmanでAPIの動作確認が楽になった話
h455h1
0
170
Komplexe Oberflächen mit SVG und der Web Animation API
joergneumann
0
670
効率化に挑戦してみたらモバイル開発が少し快適になった話
ryunakayama
0
130
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
170
Hanami and htmx
bkuhlmann
0
210
1BRC--Nerd Sniping the Java Community
gunnarmorling
0
340
デフォルトにして至高、RubyMineの大好きな所
ruzia
0
290
MicrosoftのPlatform Engineeringガイドを読んで実際になにかやってみた
ymd65536
1
300
Featured
See All Featured
It's Worth the Effort
3n
180
27k
Infographics Made Easy
chrislema
238
18k
Designing Experiences People Love
moore
136
23k
Building Flexible Design Systems
yeseniaperezcruz
319
37k
Embracing the Ebb and Flow
colly
80
4.1k
The Power of CSS Pseudo Elements
geoffreycrofte
60
5k
The Straight Up "How To Draw Better" Workshop
denniskardys
227
130k
Building Your Own Lightsaber
phodgson
99
5.7k
10 Git Anti Patterns You Should be Aware of
lemiorhan
648
58k
Fireside Chat
paigeccino
21
2.6k
Faster Mobile Websites
deanohume
299
30k
GraphQLとの向き合い方2022年版
quramy
32
12k
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