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
The way of React
Search
Rajika Imal
July 21, 2016
Programming
1
140
The way of React
Talk on React.JS which is a powerful front-end library open sourced by facebook.
Rajika Imal
July 21, 2016
Tweet
Share
More Decks by Rajika Imal
See All by Rajika Imal
Next generation Web UIs with Svelte
rajikaimal
1
110
Deno - A new perspective on server side JavaScript
rajikaimal
0
45
NodeCloud - The Node.js API for open cloud
rajikaimal
1
130
Gentle introduction to deep learning
rajikaimal
1
47
Google Summer of Code - How to get started?
rajikaimal
1
130
Other Decks in Programming
See All in Programming
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.4k
今から始めるClaude Code超入門
448jp
8
9k
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
140
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
MUSUBIXとは
nahisaho
0
140
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
180
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
Oxlintはいいぞ
yug1224
5
1.3k
AgentCoreとHuman in the Loop
har1101
5
240
AtCoder Conference 2025
shindannin
0
1.1k
Basic Architectures
denyspoltorak
0
680
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
150
The Language of Interfaces
destraynor
162
26k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Making Projects Easy
brettharned
120
6.6k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
380
GraphQLとの向き合い方2022年版
quramy
50
14k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
310
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
94
We Are The Robots
honzajavorek
0
160
Six Lessons from altMBA
skipperchong
29
4.2k
Evolving SEO for Evolving Search Engines
ryanjones
0
130
Transcript
The way of React
@rajikaimal @rajikaimal @rajikaimal
Agenda • Introduction to React.JS • Few facts on React
internals • Brief introduction to Flux architecture • Demo • Angular vs React comparison
What’s React.JS A JavaScript library for creating user interfaces Open
source Not a framework !!!
Out of the box • Component based • Learn once
write anywhere • Declarative • Loosely coupled • No routing solutions • No Ajax support
None
React is the V in MVC Model Controller View React
Components to the rescue • Declarative syntax (JSX) • Tightly
coupled UI logic and description • Cohesive • Reusable • Own properties (props) and states • Uses vanilla JavaScript • Supports ES2015/ES6
Thinking in React const Tweet = React.createClass({ render: function() {
return ( <div> <input type="text" value={this.props.tweetText} /> </div> ); } });
None
None
Virtual DOM - an abstraction of real DOM Tree diff
algorithm
MVC - cascading updates
None
Flux architecture An application architecture for client side web applications
one directional data flow
Demo time https://github.com/rajikaimal/github-scraper
Angular vs React VS
Angular vs React • Steep learning curve • Regular DOM
• 2 way data binding • No unique solution for server side rendering • Smooth learning curve • Virtual DOM • 1 way data binding • Supports server side rendering
What’s next ? • Unit testing : Jest • React
Devtools • Redux • Server side rendering
None
Thank you ! @rajikaimal @rajikaimal @rajikaimal