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
150
1
Share
The way of React
Talk on React.JS which is a powerful front-end library open sourced by facebook.
Rajika Imal
July 21, 2016
More Decks by Rajika Imal
See All by Rajika Imal
Next generation Web UIs with Svelte
rajikaimal
1
120
Deno - A new perspective on server side JavaScript
rajikaimal
0
46
NodeCloud - The Node.js API for open cloud
rajikaimal
1
130
Gentle introduction to deep learning
rajikaimal
1
48
Google Summer of Code - How to get started?
rajikaimal
1
130
Other Decks in Programming
See All in Programming
when storing skills in S3 file
watany
3
1.5k
GitHubCopilotCLIをはじめよう.pdf
htkym
0
330
Kingdom of the Machine
yui_knk
2
1.5k
検索設計から 推論設計への重心移動と Recall-First Retrieval
po3rin
5
1.6k
〜バイブコーディングを超えて〜 チームで実験し続けたAI駆動開発
tigertora7571
0
200
AI Agent と正しく分析するための環境作り
yoshyum
1
180
空間オーディオの活用
objectiveaudio
0
150
Liberating Ruby's Parser from Lexer Hacks
ydah
2
2.7k
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
400
My daily life on Ruby
a_matsuda
3
200
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
1
200
tRPCの概要と少しだけパフォーマンス
misoton665
2
270
Featured
See All Featured
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
260
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
220
Mobile First: as difficult as doing things right
swwweet
225
10k
Automating Front-end Workflow
addyosmani
1370
200k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
The Cult of Friendly URLs
andyhume
79
6.9k
RailsConf 2023
tenderlove
30
1.4k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
120
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
390
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
180
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
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