9
Most read
13
Most read
16
Most read
Noorul Ameen
Its time to React.js
© TechTalks, 2017
 Hello World
 React fundamentals – What is happening behind the scenes
 Live Coding – Building “Stock Price Viewer”
 Q & A
Agenda
© TechTalks, 2017
 React is declarative, efficient and flexible JavaScript library for building user interfaces.
 React was created by Jordan Walke from Facebook. Originally used in newsfeed and
then in Instagram.com
 Open Sourced in May 2013.
 Highest number of stars(57,773) in “Github Front-end JavaScript
frameworks” followed by Angular.
 Some of the big names using react are NETFLIX, PAYPAL, AIRBNB, UBER, KHAN
ACADEMY…. (Source libscore.com)
React Intro
© TechTalks, 2017
Without React.js
Hello World!
© TechTalks, 2017
What browser does behind the scenes
JS
HTML
CSS
DOM
(Tree)
Render
Tree
Web Page
Style
Rules
© TechTalks, 2017
 DOM and JavaScript are different
 Accessing DOM from JavaScript is slow
 Too many DOM updates may slow down your app
Things to note
© TechTalks, 2017
The React.js way
Hello World!
© TechTalks, 2017
Behind the scene
JS
HTML
CSS
DOM
(Tree)
Render
Tree
Web
Page
Style
Rules
React
Components
Virtual
DOM
© TechTalks, 2017
Virtual DOM Comparison
DOM
(Tree)
React
Components
(Initial Load)
Virtual
DOM
Version 1
DOM
(Tree)
React
Components
(Page Updates)
Virtual
DOM
Version 2
Diff of
V1 & V2
© TechTalks, 2017
 Build Reusable Components (Not templates)
 Reactive Updates (React auto updates UI when data changes.)
 Performance (Virtual DOM)
 Testability
Why React?
© TechTalks, 2017
Reduce Coupling and Increase Cohesion
 Coupling:
Coupling is the degree of interdependence between software
modules.
 Cohesion:
Cohesion refers to the degree to which the elements of
a module belong together. Thus, cohesion measures the strength
of relationship between pieces of functionality within a given
module.
Build Reusable Components, Not templates
© TechTalks, 2017
 React Components follows
“Reduce Coupling, increase Cohesion”.
 React Components encapsulates
 Data
 View
 Logic
 Component can contain other
child components.
React Components
© TechTalks, 2017
 When data changes, react auto updates UI in the most efficient and
performant way.
 React supports one way data flow instead of two way binding.
 When state changes, react re-renders the component. Also does a diff of
current render with previous render and applies only the minimal set of
changes to actual DOM.
Reactive Updates
© TechTalks, 2017
 React creates Virtual DOM by rendering component and it is children.
 It is a JavaScript object unlike real DOM.
 Working with VDOM is faster than actual DOM
 React patches the updates from VDOM to real DOM.
Virtual DOM
© TechTalks, 2017
 React forces us to build everything as components.
 Components are easy to unit test
Testability
© TechTalks, 2017
 https://github.com/jnoorul/tech-talk-stock-viewer
Live Coding – Stock Price Viewer
© TechTalks, 2017
Way forward – React Native (Cross Platform Mobile
Apps)
© TechTalks, 2017
 React official site https://facebook.github.io/react/
 Why React? https://facebook.github.io/react/blog/2013/06/05/why-react.html
 NETFLIX- Crafting a high performance TV user interface using React
http://techblog.netflix.com/2017/01/crafting-high-performance-tv-user.html
 Source Code https://github.com/jnoorul/tech-talk-stock-viewer
For further info
© TechTalks, 2017
THANK YOU
© TechTalks, 2017

More Related Content

PPTX
[Final] ReactJS presentation
PPTX
Introduction to React JS
PPTX
Presentation on "An Introduction to ReactJS"
PPTX
Introduction to React JS for beginners
PPTX
React js programming concept
PDF
ReactJS presentation
PPTX
React JS: A Secret Preview
PPTX
Introduction to React JS for beginners | Namespace IT
[Final] ReactJS presentation
Introduction to React JS
Presentation on "An Introduction to ReactJS"
Introduction to React JS for beginners
React js programming concept
ReactJS presentation
React JS: A Secret Preview
Introduction to React JS for beginners | Namespace IT

What's hot (20)

PDF
React js
PPTX
Introduction to react_js
PPTX
React workshop
PPTX
PPTX
React js for beginners
PDF
An introduction to React.js
PPT
React js
PPTX
Intro to React
PPTX
React js - The Core Concepts
PDF
Introduction to React JS
PPTX
Reactjs
ODP
Introduction to ReactJS
PPTX
Introduction to react js
PPTX
React JS - A quick introduction tutorial
PDF
React JS - Introduction
PPTX
React workshop presentation
PPTX
PPTX
React JS part 1
PPTX
Introduction to React
React js
Introduction to react_js
React workshop
React js for beginners
An introduction to React.js
React js
Intro to React
React js - The Core Concepts
Introduction to React JS
Reactjs
Introduction to ReactJS
Introduction to react js
React JS - A quick introduction tutorial
React JS - Introduction
React workshop presentation
React JS part 1
Introduction to React
Ad

Similar to Its time to React.js (20)

PDF
Maximize Development Efficiency with ReactJS.pdf
PDF
How Can the Hermes Engine Help React Native Apps.docx.pdf
PDF
How Can the Hermes Engine Help React Native Apps.
PDF
Vue Js vs React: Which is the Best JS Technology in 2023
PDF
React js vs react native a comparative analysis
PDF
Review on React JS
PDF
FRONTEND DEVELOPMENT WITH REACT.JS
PPTX
Vue Or React - Which One is the Best_.pptx
PDF
React Js Simplified
PDF
Front End Development
PDF
ReactJS Vs React Native: Understanding Differences, Advantages, Disadvantages
PDF
Best 10 Advantages Of React.js Development For Your Business
PDF
Boost Startup Success: Hire Skilled ReactJS Developers Today
PPTX
React vs React Native
PDF
why_choose_react_js_development_for_building_websites_in_2023.pdf
PDF
Learning React js Learn React JS From Scratch with Hands On Projects 2nd Edit...
PDF
What are the business benefits of ReactJS for web and mobile applications_.pdf
PPTX
What is ReactJS?
PDF
React Vs Vue.js Which One is Better.pdf
PDF
Web Development.pdf
Maximize Development Efficiency with ReactJS.pdf
How Can the Hermes Engine Help React Native Apps.docx.pdf
How Can the Hermes Engine Help React Native Apps.
Vue Js vs React: Which is the Best JS Technology in 2023
React js vs react native a comparative analysis
Review on React JS
FRONTEND DEVELOPMENT WITH REACT.JS
Vue Or React - Which One is the Best_.pptx
React Js Simplified
Front End Development
ReactJS Vs React Native: Understanding Differences, Advantages, Disadvantages
Best 10 Advantages Of React.js Development For Your Business
Boost Startup Success: Hire Skilled ReactJS Developers Today
React vs React Native
why_choose_react_js_development_for_building_websites_in_2023.pdf
Learning React js Learn React JS From Scratch with Hands On Projects 2nd Edit...
What are the business benefits of ReactJS for web and mobile applications_.pdf
What is ReactJS?
React Vs Vue.js Which One is Better.pdf
Web Development.pdf
Ad

More from Ritesh Mehrotra (6)

PDF
Unit Testing and role of Test doubles
PPTX
Progressive Web Applications - A gentle introduction
PPTX
A journey from Vision to product
PPTX
Behavior driven development
PPTX
Elaborating Scrum Values
PPTX
The curious case of Blockchain Technology
Unit Testing and role of Test doubles
Progressive Web Applications - A gentle introduction
A journey from Vision to product
Behavior driven development
Elaborating Scrum Values
The curious case of Blockchain Technology

Recently uploaded (20)

PDF
Slides World Game (s) Great Redesign Eco Economic Epochs.pdf
PDF
State of AI in Business 2025 - MIT NANDA
PDF
EIS-Webinar-Regulated-Industries-2025-08.pdf
PDF
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
PDF
EGCB_Solar_Project_Presentation_and Finalcial Analysis.pdf
PDF
Domain-specific knowledge and context in large language models: challenges, c...
PPTX
From XAI to XEE through Influence and Provenance.Controlling model fairness o...
PDF
Examining Bias in AI Generated News Content.pdf
PPTX
maintenance powerrpoint for adaprive and preventive
PDF
TicketRoot: Event Tech Solutions Deck 2025
PDF
ELLIE29.pdfWETWETAWTAWETAETAETERTRTERTER
PDF
The Digital Engine Room: Unlocking APAC’s Economic and Digital Potential thro...
PPTX
CRM(Customer Relationship Managmnet) Presentation
PPT
Overviiew on Intellectual property right
PDF
Uncertainty-aware contextual multi-armed bandits for recommendations in e-com...
PPTX
Blending method and technology for hydrogen.pptx
PPTX
Build automations faster and more reliably with UiPath ScreenPlay
PDF
FASHION-DRIVEN TEXTILES AS A CRYSTAL OF A NEW STREAM FOR STAKEHOLDER CAPITALI...
PDF
Addressing the challenges of harmonizing law and artificial intelligence tech...
PPTX
How to use fields_get method in Odoo 18
Slides World Game (s) Great Redesign Eco Economic Epochs.pdf
State of AI in Business 2025 - MIT NANDA
EIS-Webinar-Regulated-Industries-2025-08.pdf
ment.tech-Siri Delay Opens AI Startup Opportunity in 2025.pdf
EGCB_Solar_Project_Presentation_and Finalcial Analysis.pdf
Domain-specific knowledge and context in large language models: challenges, c...
From XAI to XEE through Influence and Provenance.Controlling model fairness o...
Examining Bias in AI Generated News Content.pdf
maintenance powerrpoint for adaprive and preventive
TicketRoot: Event Tech Solutions Deck 2025
ELLIE29.pdfWETWETAWTAWETAETAETERTRTERTER
The Digital Engine Room: Unlocking APAC’s Economic and Digital Potential thro...
CRM(Customer Relationship Managmnet) Presentation
Overviiew on Intellectual property right
Uncertainty-aware contextual multi-armed bandits for recommendations in e-com...
Blending method and technology for hydrogen.pptx
Build automations faster and more reliably with UiPath ScreenPlay
FASHION-DRIVEN TEXTILES AS A CRYSTAL OF A NEW STREAM FOR STAKEHOLDER CAPITALI...
Addressing the challenges of harmonizing law and artificial intelligence tech...
How to use fields_get method in Odoo 18

Its time to React.js

  • 1. Noorul Ameen Its time to React.js © TechTalks, 2017
  • 2.  Hello World  React fundamentals – What is happening behind the scenes  Live Coding – Building “Stock Price Viewer”  Q & A Agenda © TechTalks, 2017
  • 3.  React is declarative, efficient and flexible JavaScript library for building user interfaces.  React was created by Jordan Walke from Facebook. Originally used in newsfeed and then in Instagram.com  Open Sourced in May 2013.  Highest number of stars(57,773) in “Github Front-end JavaScript frameworks” followed by Angular.  Some of the big names using react are NETFLIX, PAYPAL, AIRBNB, UBER, KHAN ACADEMY…. (Source libscore.com) React Intro © TechTalks, 2017
  • 5. What browser does behind the scenes JS HTML CSS DOM (Tree) Render Tree Web Page Style Rules © TechTalks, 2017
  • 6.  DOM and JavaScript are different  Accessing DOM from JavaScript is slow  Too many DOM updates may slow down your app Things to note © TechTalks, 2017
  • 7. The React.js way Hello World! © TechTalks, 2017
  • 9. Virtual DOM Comparison DOM (Tree) React Components (Initial Load) Virtual DOM Version 1 DOM (Tree) React Components (Page Updates) Virtual DOM Version 2 Diff of V1 & V2 © TechTalks, 2017
  • 10.  Build Reusable Components (Not templates)  Reactive Updates (React auto updates UI when data changes.)  Performance (Virtual DOM)  Testability Why React? © TechTalks, 2017
  • 11. Reduce Coupling and Increase Cohesion  Coupling: Coupling is the degree of interdependence between software modules.  Cohesion: Cohesion refers to the degree to which the elements of a module belong together. Thus, cohesion measures the strength of relationship between pieces of functionality within a given module. Build Reusable Components, Not templates © TechTalks, 2017
  • 12.  React Components follows “Reduce Coupling, increase Cohesion”.  React Components encapsulates  Data  View  Logic  Component can contain other child components. React Components © TechTalks, 2017
  • 13.  When data changes, react auto updates UI in the most efficient and performant way.  React supports one way data flow instead of two way binding.  When state changes, react re-renders the component. Also does a diff of current render with previous render and applies only the minimal set of changes to actual DOM. Reactive Updates © TechTalks, 2017
  • 14.  React creates Virtual DOM by rendering component and it is children.  It is a JavaScript object unlike real DOM.  Working with VDOM is faster than actual DOM  React patches the updates from VDOM to real DOM. Virtual DOM © TechTalks, 2017
  • 15.  React forces us to build everything as components.  Components are easy to unit test Testability © TechTalks, 2017
  • 17. Way forward – React Native (Cross Platform Mobile Apps) © TechTalks, 2017
  • 18.  React official site https://facebook.github.io/react/  Why React? https://facebook.github.io/react/blog/2013/06/05/why-react.html  NETFLIX- Crafting a high performance TV user interface using React http://techblog.netflix.com/2017/01/crafting-high-performance-tv-user.html  Source Code https://github.com/jnoorul/tech-talk-stock-viewer For further info © TechTalks, 2017