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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Aayush Kapoor
July 01, 2018
Programming
2
94
Front-End Web Development in React
Aayush Kapoor
July 01, 2018
Tweet
Share
Other Decks in Programming
See All in Programming
Windows on Ryzen and I
seosoft
0
330
CSC307 Lecture 14
javiergs
PRO
0
480
「効かない!」依存性注入(DI)を活用したAPI Platformのエラーハンドリング奮闘記 / "It’s Not Working!" A Struggle with Error Handling in API Platform using DI
mkmk884
0
110
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
600
PHPで TLSのプロトコルを実装してみる
higaki_program
0
300
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
2
490
Fundamentals of Software Engineering In the Age of AI
therealdanvega
2
270
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2k
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
1.1k
ベクトル検索のフィルタを用いた機械学習モデルとの統合 / python-meetup-fukuoka-06-vector-attr
monochromegane
2
490
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
720
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.1k
Featured
See All Featured
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
150
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
160
For a Future-Friendly Web
brad_frost
183
10k
Producing Creativity
orderedlist
PRO
348
40k
A Modern Web Designer's Workflow
chriscoyier
698
190k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
270
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Between Models and Reality
mayunak
2
240
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