SlideShare a Scribd company logo
7
Most read
8
Most read
13
Most read
React JS
Abu Baker Siddik
Junior Software Engineer
Namespace IT
What is React JS?
React is a component-based JavaScript library for building user
interfaces. It is used to build single page applications (SPA) and
allows us to create reusable UI components.
What is Single page application (SPA)?
A single-page application (SPA) is a web application or website
that interacts with the user by dynamically rewriting the current
web page with new data from the web server,
Why use React?
Simplicity: component-based approach, well-defined lifecycle, and
use of just plain JavaScript
Easy to learn: basic previous knowledge in programming can easily
understand React
Native Approach: make IOS, Android and Web applications
Data Binding: uses one-way data binding
Performance
Testability
Fundamentals of React
Component
Props
State
Lifecycle
Hooks
JSX
Virtual DOM
Component
Components are self-contained reusable building blocks of web
application.
Types of components
There are two types of components
1. Class Base Component
2. Functional Component
Props
React allows us to pass information from one component to
another using something called props (stands for
properties). Props are basically kind of global variable or object.
State
State is a JavaScript object that stores a component's dynamic
data and determines the component's behaviour.
Props vs State
In a React component, props are variables passed to it by its
parent component. State on the other hand is still variables, but
directly initialized and managed by the component. The state can
be initialized by props.
LIFECYCLE
Hooks
 Basic Hooks
 useState
 useEffect
 useContext
 Additional Hooks
 useReducer
 useCallback
 useMemo
 useRef
 useImperativeHandle
 useLayoutEffect
 useDebugValue
Hooks are a new addition in react 16.8. They let you use state
and other react features without writing a class.
JSX
JSX stands for JavaScript XML. JSX allows us to write HTML in
React. JSX makes it easier to write and add HTML in React.
Virtual DOM
DOM stands for 'Document Object Model'. In simple terms, it is a
structured representation of the HTML elements that are present
in a webpage or web-app. It contains a node for each HTML
element present in the web document. Virtual DOM is a node
tree that lists elements and their attributes and content as
objects and properties.
Who uses React?
Any Question?
Thank You

More Related Content

What's hot (20)

ODP
Introduction to ReactJS
Knoldus Inc.
 
PDF
React js
Rajesh Kolla
 
PPTX
Introduction to react_js
MicroPyramid .
 
PPTX
Intro to React
Justin Reock
 
PDF
An introduction to React.js
Emanuele DelBono
 
PPTX
Its time to React.js
Ritesh Mehrotra
 
PPTX
React-JS.pptx
AnmolPandita7
 
PPTX
React js programming concept
Tariqul islam
 
PPTX
React js for beginners
Alessandro Valenti
 
PPTX
Introduction to React
Rob Quick
 
PPTX
React workshop
Imran Sayed
 
PPTX
Reactjs
Neha Sharma
 
PPTX
React js
Oswald Campesato
 
PPTX
React hooks
Assaf Gannon
 
PDF
Understanding react hooks
Samundra khatri
 
PPTX
React js
Alireza Akbari
 
PDF
Introduction to Redux
Ignacio Martín
 
PDF
React and redux
Mystic Coders, LLC
 
PPT
React js
Jai Santhosh
 
PPTX
Introduction to react js
Aeshan Wijetunge
 
Introduction to ReactJS
Knoldus Inc.
 
React js
Rajesh Kolla
 
Introduction to react_js
MicroPyramid .
 
Intro to React
Justin Reock
 
An introduction to React.js
Emanuele DelBono
 
Its time to React.js
Ritesh Mehrotra
 
React-JS.pptx
AnmolPandita7
 
React js programming concept
Tariqul islam
 
React js for beginners
Alessandro Valenti
 
Introduction to React
Rob Quick
 
React workshop
Imran Sayed
 
Reactjs
Neha Sharma
 
React hooks
Assaf Gannon
 
Understanding react hooks
Samundra khatri
 
React js
Alireza Akbari
 
Introduction to Redux
Ignacio Martín
 
React and redux
Mystic Coders, LLC
 
React js
Jai Santhosh
 
Introduction to react js
Aeshan Wijetunge
 

Similar to Introduction to React JS for beginners | Namespace IT (20)

PPTX
React js introduction about it's features
SaiM947604
 
PDF
React Interview Question PDF By ScholarHat
Scholarhat
 
PDF
100 React Interview questions 2024.pptx.pdf
codevincent624
 
PPTX
ReactJs
Sahana Banerjee
 
PDF
React Interview Question & Answers PDF By ScholarHat
Scholarhat
 
PDF
Top 20 ReactJS Interview Questions and Answers in 2023.pdf
AnanthReddy38
 
PDF
Copy of React_JS_Notes.pdf
suryanarayana272799
 
PDF
REACTJS.pdf
ArthyR3
 
PPTX
REACT JS COACHING CENTER IN CHANDIGARH
PritamNegi5
 
PDF
The following features are associated with reacting to lifecycle methods.
Wikiance
 
PPTX
React ppt
Naresh Thamizharasan
 
PDF
React JS Interview Questions PDF By ScholarHat
Scholarhat
 
PDF
Techpaathshala ReactJS .pdf
Techpaathshala
 
PDF
React Interview Questions and Answers by Scholarhat
Scholarhat
 
PPTX
Introduction to React JS.pptx
SHAIKIRFAN715544
 
PPTX
Introduction to ReactJS UI Web Dev .pptx
SHAIKIRFAN715544
 
DOCX
Skill practical javascript diy projects
SkillPracticalEdTech
 
PDF
a-detailed-guide-everything-you-need-to-know-about-reactjs.pdf
RobertThorson2
 
PPTX
SharePoint Framework y React
SUGES (SharePoint Users Group España)
 
PPTX
React intro
PushkarThakur7
 
React js introduction about it's features
SaiM947604
 
React Interview Question PDF By ScholarHat
Scholarhat
 
100 React Interview questions 2024.pptx.pdf
codevincent624
 
React Interview Question & Answers PDF By ScholarHat
Scholarhat
 
Top 20 ReactJS Interview Questions and Answers in 2023.pdf
AnanthReddy38
 
Copy of React_JS_Notes.pdf
suryanarayana272799
 
REACTJS.pdf
ArthyR3
 
REACT JS COACHING CENTER IN CHANDIGARH
PritamNegi5
 
The following features are associated with reacting to lifecycle methods.
Wikiance
 
React JS Interview Questions PDF By ScholarHat
Scholarhat
 
Techpaathshala ReactJS .pdf
Techpaathshala
 
React Interview Questions and Answers by Scholarhat
Scholarhat
 
Introduction to React JS.pptx
SHAIKIRFAN715544
 
Introduction to ReactJS UI Web Dev .pptx
SHAIKIRFAN715544
 
Skill practical javascript diy projects
SkillPracticalEdTech
 
a-detailed-guide-everything-you-need-to-know-about-reactjs.pdf
RobertThorson2
 
SharePoint Framework y React
SUGES (SharePoint Users Group España)
 
React intro
PushkarThakur7
 
Ad

Recently uploaded (20)

PDF
IMPORTANT GUIDELINES FOR M.Sc.ZOOLOGY DISSERTATION
raviralanaresh2
 
PDF
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
PPTX
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
PPTX
Introduction to Biochemistry & Cellular Foundations.pptx
marvinnbustamante1
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PPTX
ENG8_Q1_WEEK2_LESSON1. Presentation pptx
marawehsvinetshe
 
PDF
Android Programming - Basics of Mobile App, App tools and Android Basics
Kavitha P.V
 
PDF
Horarios de distribución de agua en julio
pegazohn1978
 
PDF
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
PPTX
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
PDF
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
PPTX
ENGlish 8 lesson presentation PowerPoint.pptx
marawehsvinetshe
 
PDF
WATERSHED MANAGEMENT CASE STUDIES - ULUGURU MOUNTAINS AND ARVARI RIVERpdf
Ar.Asna
 
PPTX
SD_GMRC5_Session 6AB_Dulog Pedagohikal at Pagtataya (1).pptx
NickeyArguelles
 
PPTX
Light Reflection and Refraction- Activities - Class X Science
SONU ACADEMY
 
PPTX
Introduction to Indian Writing in English
Trushali Dodiya
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PPTX
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
PDF
epi editorial commitee meeting presentation
MIPLM
 
PPTX
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
IMPORTANT GUIDELINES FOR M.Sc.ZOOLOGY DISSERTATION
raviralanaresh2
 
Week 2 - Irish Natural Heritage Powerpoint.pdf
swainealan
 
How to Configure Re-Ordering From Portal in Odoo 18 Website
Celine George
 
Introduction to Biochemistry & Cellular Foundations.pptx
marvinnbustamante1
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
ENG8_Q1_WEEK2_LESSON1. Presentation pptx
marawehsvinetshe
 
Android Programming - Basics of Mobile App, App tools and Android Basics
Kavitha P.V
 
Horarios de distribución de agua en julio
pegazohn1978
 
Is Assignment Help Legal in Australia_.pdf
thomas19williams83
 
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
Vani - The Voice of Excellence - Jul 2025 issue
Savipriya Raghavendra
 
ENGlish 8 lesson presentation PowerPoint.pptx
marawehsvinetshe
 
WATERSHED MANAGEMENT CASE STUDIES - ULUGURU MOUNTAINS AND ARVARI RIVERpdf
Ar.Asna
 
SD_GMRC5_Session 6AB_Dulog Pedagohikal at Pagtataya (1).pptx
NickeyArguelles
 
Light Reflection and Refraction- Activities - Class X Science
SONU ACADEMY
 
Introduction to Indian Writing in English
Trushali Dodiya
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
Nitrogen rule, ring rule, mc lafferty.pptx
nbisen2001
 
epi editorial commitee meeting presentation
MIPLM
 
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
Ad

Introduction to React JS for beginners | Namespace IT

  • 1. React JS Abu Baker Siddik Junior Software Engineer Namespace IT
  • 2. What is React JS? React is a component-based JavaScript library for building user interfaces. It is used to build single page applications (SPA) and allows us to create reusable UI components.
  • 3. What is Single page application (SPA)? A single-page application (SPA) is a web application or website that interacts with the user by dynamically rewriting the current web page with new data from the web server,
  • 4. Why use React? Simplicity: component-based approach, well-defined lifecycle, and use of just plain JavaScript Easy to learn: basic previous knowledge in programming can easily understand React Native Approach: make IOS, Android and Web applications Data Binding: uses one-way data binding Performance Testability
  • 6. Component Components are self-contained reusable building blocks of web application.
  • 7. Types of components There are two types of components 1. Class Base Component 2. Functional Component
  • 8. Props React allows us to pass information from one component to another using something called props (stands for properties). Props are basically kind of global variable or object.
  • 9. State State is a JavaScript object that stores a component's dynamic data and determines the component's behaviour.
  • 10. Props vs State In a React component, props are variables passed to it by its parent component. State on the other hand is still variables, but directly initialized and managed by the component. The state can be initialized by props.
  • 12. Hooks  Basic Hooks  useState  useEffect  useContext  Additional Hooks  useReducer  useCallback  useMemo  useRef  useImperativeHandle  useLayoutEffect  useDebugValue Hooks are a new addition in react 16.8. They let you use state and other react features without writing a class.
  • 13. JSX JSX stands for JavaScript XML. JSX allows us to write HTML in React. JSX makes it easier to write and add HTML in React.
  • 14. Virtual DOM DOM stands for 'Document Object Model'. In simple terms, it is a structured representation of the HTML elements that are present in a webpage or web-app. It contains a node for each HTML element present in the web document. Virtual DOM is a node tree that lists elements and their attributes and content as objects and properties.