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
Front-End Web Development in React
Search
Aayush Kapoor
July 01, 2018
Programming
2
91
Front-End Web Development in React
Aayush Kapoor
July 01, 2018
Tweet
Share
Other Decks in Programming
See All in Programming
プログラマのための作曲入門
cheebow
0
510
Swiftビルド弾丸ツアー - Swift Buildが作る新しいエコシステム
giginet
PRO
0
1.6k
詳しくない分野でのVibe Codingで困ったことと学び/vibe-coding-in-unfamiliar-area
shibayu36
2
1.7k
dynamic!
moro
9
5.3k
パフォーマンスチューニングで Web 技術を深掘り直す
progfay
18
4.8k
プログラミングどうやる? ~テスト駆動開発から学ぶ達人の型~
a_okui
0
190
大規模アプリのDIフレームワーク刷新戦略 ~過去最大規模の並行開発を止めずにアプリ全体に導入するまで~
mot_techtalk
0
330
uniqueパッケージの内部実装を支えるweak pointerの話
magavel
0
870
CSC509 Lecture 02
javiergs
PRO
0
400
私はどうやって技術力を上げたのか
yusukebe
43
17k
iOS 17で追加されたSubscriptionStoreView を利用して5分でサブスク実装チャレンジ
natmark
0
450
CSC305 Lecture 03
javiergs
PRO
0
230
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
2.6k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
19
1.2k
What's in a price? How to price your products and services
michaelherold
246
12k
A designer walks into a library…
pauljervisheath
208
24k
We Have a Design System, Now What?
morganepeng
53
7.8k
Making the Leap to Tech Lead
cromwellryan
135
9.5k
Building Adaptive Systems
keathley
43
2.8k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
How to Think Like a Performance Engineer
csswizardry
27
2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
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