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
Intro to React
Search
Bruno Cunha
February 22, 2016
Programming
510
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
61
A Chain Is No Stronger Than Its Weakest Turbolink
bruncun
1
58
You Don't Know Hack - Intro to Mob Programming
bruncun
0
64
JS for Rails Developers (is jQuery OK?)
bruncun
0
43
Other Decks in Programming
See All in Programming
Groovy as a human and AI friendly programming language
paulk
0
170
선언형 햅틱 라이브러리 진동을 소개합니다
l2hyunwoo
1
260
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
0
130
コーディング自動化の次へ。人の介入をゼロにするファクトリーとサポートAIによる実践
timakin
5
5k
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
500
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
170
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
250
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
320
[JA] Domain Modeling with Vanilla Rails: 「操作」から再考するRailsの設計論
yasaichi
4
1.7k
No More NoSuchMethodError
exoego
1
120
ChromeでローカルLLM
ryu1013
0
190
SODA - FACT BOOK(JP)
sodainc
1
40k
Featured
See All Featured
Prompt Engineering for Job Search
mfonobong
0
570
The SEO identity crisis: Don't let AI make you average
varn
0
620
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
The Curious Case for Waylosing
cassininazir
1
600
Producing Creativity
orderedlist
PRO
348
41k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
68k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
340
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
920
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
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