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
Introduction to React.js
Search
Roman Liutikov
November 20, 2016
Programming
0
82
Introduction to React.js
Overview of core concepts in React.js
Roman Liutikov
November 20, 2016
Tweet
Share
More Decks by Roman Liutikov
See All by Roman Liutikov
ClojureScript × Type Inference
roman01la
0
45
React Kyiv – Dec 19, 2017
roman01la
1
230
React & ClojureScript in production at Attendify
roman01la
0
200
Web Apps performance & JavaScript compilers
roman01la
3
120
React Native: Native Mobile Development in JavaScript @ LvivJS 2016
roman01la
0
140
React Native: Are we there yet? (Pokémon edition) @ VinnytsiaJS '16
roman01la
0
390
React Native: Native mobile development with JavaScript
roman01la
0
190
ClojureScript, что ты такое?
roman01la
1
210
ClojureScript: what are you?
roman01la
2
130
Other Decks in Programming
See All in Programming
dchart: charts from deck markup
ajstarks
3
990
CSC307 Lecture 03
javiergs
PRO
1
490
CSC307 Lecture 04
javiergs
PRO
0
660
「ブロックテーマでは再現できない」は本当か?
inc2734
0
970
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
260
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
210
今から始めるClaude Code超入門
448jp
8
8.6k
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
270
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
190
Basic Architectures
denyspoltorak
0
670
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
Featured
See All Featured
AI: The stuff that nobody shows you
jnunemaker
PRO
2
250
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Tell your own story through comics
letsgokoyo
1
810
The SEO identity crisis: Don't let AI make you average
varn
0
240
Test your architecture with Archunit
thirion
1
2.1k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Deep Space Network (abreviated)
tonyrice
0
47
Exploring anti-patterns in Rails
aemeredith
2
250
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
410
Joys of Absence: A Defence of Solitary Play
codingconduct
1
290
Transcript
UI is a hierarchical tree structure
DOM is also a tree structure <html> <head> </head> <body>
<h1>Hello!</h1> <div></div> </body> </html>
React.js application is a tree structure of React components <Root>
<Child /> <Child> <Child>Hello!</Child> <Child /> </Child> </Root>
Components share data through tree hierarchy
A component may have an internal state When state is
updated, component and its children are also updated (re-rendered).
Component lifecycle
Rendering optimization If props or state didn’t change, there’s no
reason to update (re-render) a component.
Child to parent communication Parent component may pass a callback
function, which changes a state of the component, to child component.