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
CSC307 Lecture 05
javiergs
PRO
0
500
AtCoder Conference 2025
shindannin
0
1.1k
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
200
MUSUBIXとは
nahisaho
0
140
Patterns of Patterns
denyspoltorak
0
1.4k
今から始めるClaude Code超入門
448jp
8
9k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
600
CSC307 Lecture 01
javiergs
PRO
0
690
Fluid Templating in TYPO3 14
s2b
0
130
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
310
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
170
Basic Architectures
denyspoltorak
0
680
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
340
58k
Documentation Writing (for coders)
carmenintech
77
5.3k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
130
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Skip the Path - Find Your Career Trail
mkilby
0
57
The Curious Case for Waylosing
cassininazir
0
240
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
210
Are puppies a ranking factor?
jonoalderson
1
2.7k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
120
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