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
Intro to React
Search
Bruno Cunha
February 22, 2016
Programming
480
3
Share
Intro to React
Wordcamp Miami 2016
Bruno Cunha
February 22, 2016
More Decks by Bruno Cunha
See All by Bruno Cunha
Stimulus: A Modest Proposal
bruncun
0
55
A Chain Is No Stronger Than Its Weakest Turbolink
bruncun
1
51
You Don't Know Hack - Intro to Mob Programming
bruncun
0
60
JS for Rails Developers (is jQuery OK?)
bruncun
0
37
Other Decks in Programming
See All in Programming
10 Tips of AWS ~Gen AI on AWS~
licux
5
510
Running Swift without an OS
kishikawakatsumi
0
870
Claude CodeでETLジョブ実行テストを自動化してみた
yoshikikasama
0
1.1k
2026_04_15_量子計算をパズルとして解く
hideakitakechi
0
130
PHP で mp3 プレイヤーを実装しよう
m3m0r7
PRO
0
290
AIと共に生きる技術選定 2026
sgash708
0
110
HTML-Aware ERB: The Path to Reactive Rendering @ RubyKaigi 2026, Hakodate, Japan
marcoroth
0
500
レガシーPHP転生 〜父がドメインエキスパートだったのでDDD+Claude Codeでチート開発します〜
panda_program
0
1.1k
JAWS-UG横浜 #100 祝・第100回スペシャルAWS は VPC レスの時代へ
maroon1st
0
200
Import assertionsが消えた日~ECMAScriptの仕様はどう決まり、なぜ覆るのか~
bicstone
1
150
ふりがな Deep Dive try! Swift Tokyo 2026
watura
0
250
クラウドネイティブなエンジニアに向ける Raycastの魅力と実際の活用事例
nealle
2
230
Featured
See All Featured
Google's AI Overviews - The New Search
badams
0
990
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
390
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
140
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
Paper Plane (Part 1)
katiecoart
PRO
0
6.9k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
360
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
520
Leo the Paperboy
mayatellez
7
1.7k
How to Ace a Technical Interview
jacobian
281
24k
Six Lessons from altMBA
skipperchong
29
4.2k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Transcript
INTRO TO REACT B R U N O C U
N H A @ B R U N C U N
AGENDA What is React? JSX Props State Use Cases Next
Steps
bit.ly/24izsLz F O L L O W A L O
N G
WHAT IS REACT? I T S N O T A
F R A M E W O R K
React is a library for building composable, dynamic user interfaces.
Components are modular, cohesive sets of data and functions.
React abstracts the DOM and implements one-way reactive data flow.
Its simple and declarative, minimizing boilerplate and making it easy
to reason about.
JSX JS + XML
React components take input data and output what to render
using JSX.
JSX is an XML-like syntax that uses the expressive power
of JavaScript to build HTML.
JSX allows you to keep component markup and display logic
in one place.
PROPS J U S T P R O P E
R T I E S
Components access input data using props.
Parent components assign props to children using attributes.
Data changes cause components to re-render.
A component cannot mutate its own props.
STATE O N L Y F O R I N
T E R A C T I V I T Y
A component's state is mutable, allowing it to respond to
changes.
Updating state will cause a component to re-render appropriately.
State should store as little data as possible because it
is private to the component.
The higher up the hierarchy state is stored, the easier
it can be to maintain.
USE CASES R E F L E C T D
E E P L Y
If your existing front-end stack is buggy, slow, or difficult
to maintain, you should consider React.
If you're already productive with at least one other front-end
technology, you probably don't need React.
If you're a beginner looking to write an interactive, stateful
app, you should consider React.
If you're a beginner looking to write a simple application
with limited interactivity, you probably don't need React.
NEXT STEPS A L W A Y S B E
L E A R N I N G
NEXT STEPS Official Tutorial - bit.ly/1F8DclG ES6 - bit.ly/1RfbS9W Babel
- bit.ly/1Avg4YU Routing - bit.ly/1BFbk90 Redux - bit.ly/1L3mZVE
THANKS! @ B R U N C U N