$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Front-End Web Development in React
Search
Aayush Kapoor
July 01, 2018
Programming
2
93
Front-End Web Development in React
Aayush Kapoor
July 01, 2018
Tweet
Share
Other Decks in Programming
See All in Programming
脳の「省エネモード」をデバッグする ~System 1(直感)と System 2(論理)の切り替え~
panda728
PRO
0
120
Grafana:建立系統全知視角的捷徑
blueswen
0
170
AIエージェントの設計で注意するべきポイント6選
har1101
5
2.1k
Python札幌 LT資料
t3tra
6
1k
Rubyで鍛える仕組み化プロヂュース力
muryoimpl
0
160
Jetpack XR SDKから紐解くAndroid XR開発と技術選定のヒント / about-androidxr-and-jetpack-xr-sdk
drumath2237
1
190
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
440
Full-Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
170
Deno Tunnel を使ってみた話
kamekyame
0
230
tparseでgo testの出力を見やすくする
utgwkk
2
270
堅牢なフロントエンドテスト基盤を構築するために行った取り組み
shogo4131
8
2.5k
Graviton と Nitro と私
maroon1st
0
130
Featured
See All Featured
Highjacked: Video Game Concept Design
rkendrick25
PRO
0
250
Deep Space Network (abreviated)
tonyrice
0
21
WENDY [Excerpt]
tessaabrams
8
35k
A designer walks into a library…
pauljervisheath
210
24k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Bash Introduction
62gerente
615
210k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
120
Typedesign – Prime Four
hannesfritz
42
2.9k
Between Models and Reality
mayunak
0
150
The SEO Collaboration Effect
kristinabergwall1
0
310
The agentic SEO stack - context over prompts
schlessera
0
560
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Transcript
Front-End Web Development in React
What is ? Introduction 1 2
Q: “How do you eat an Elephant?” A: “One bite
at a time”. 3 AKA: When things seem daunting, break them down into smaller chunks. Eventually, those chunks will become understandable.
React Component 4
5 A Component is essentially anything that looks like <UppercaseTag>
6
7
8
9
React Component Data 10 props state Component
What are Props? 11
What is State? 12
Props 1. Data that is passed into a component. 2.
They are READ-ONLY in nature. React Props vs State State 1. Data that is managed by the component. 2. It is CHANGEABLE in nature. 13
Data only flows down in tree React Data Flow 14
React Inter-Component Communication 15 Parent Component Child Component Child Component
React One Way Data Flow 16 Props Immutable & Passed-on
Data State Mutable & Private Data
How to ? Introduction 2 17
React with JSX 18 ➔ Feels like HTML inside JS
➔ Compiles down to JavaScript ➔ It is Fast due to Optimisations
React with JSX Example 19
React Component Lifecycle 20 ➔ componentDidMount() ➔ componentDidUpdate() ➔ componentWillMount()
➔ render()
React Component Structure 21
React Project Structure 22 ➔ Great-grandparent ◆ Grandparent • Parent
◦ Child ◦ Child ◆ Grandparent • Parent ◦ Child ◦ Child