SlideShare a Scribd company logo
7
Most read
8
Most read
14
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)

Introduction to ReactJS
Introduction to ReactJS
Knoldus Inc.
 
React JS - Introduction
React JS - Introduction
Sergey Romaneko
 
React js
React js
Jai Santhosh
 
Intro to React
Intro to React
Justin Reock
 
React js for beginners
React js for beginners
Alessandro Valenti
 
Introduction to React JS
Introduction to React JS
Bethmi Gunasekara
 
ReactJs
ReactJs
Sahana Banerjee
 
Introduction to React
Introduction to React
Rob Quick
 
React JS: A Secret Preview
React JS: A Secret Preview
valuebound
 
React js programming concept
React js programming concept
Tariqul islam
 
Its time to React.js
Its time to React.js
Ritesh Mehrotra
 
An introduction to React.js
An introduction to React.js
Emanuele DelBono
 
React js
React js
Alireza Akbari
 
Intro to React
Intro to React
Eric Westfall
 
[Final] ReactJS presentation
[Final] ReactJS presentation
洪 鹏发
 
Introduction to react js
Introduction to react js
Aeshan Wijetunge
 
ReactJS
ReactJS
Hiten Pratap Singh
 
React JS part 1
React JS part 1
Diluka Wittahachchige
 
Introduction to react_js
Introduction to react_js
MicroPyramid .
 
ReactJS
ReactJS
Ram Murat Sharma
 

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

unit 2 React js.pptxdgdgdgdgdgdgdgdgdsgdgdg
unit 2 React js.pptxdgdgdgdgdgdgdgdgdsgdgdg
zmulani8
 
Review on React JS
Review on React JS
ijtsrd
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
Karmanjay Verma
 
Internal workshop react-js-mruiz
Internal workshop react-js-mruiz
Miguel Ruiz Rodriguez
 
React js introduction about it's features
React js introduction about it's features
SaiM947604
 
100 React Interview questions 2024.pptx.pdf
100 React Interview questions 2024.pptx.pdf
codevincent624
 
react js training|react js training in mumbai|
react js training|react js training in mumbai|
programmersclubonlin
 
Presentation on "An Introduction to ReactJS"
Presentation on "An Introduction to ReactJS"
Flipkart
 
GDSC NITS Presents Kickstart into ReactJS
GDSC NITS Presents Kickstart into ReactJS
Pratik Majumdar
 
What is React programming used for_ .pdf
What is React programming used for_ .pdf
ayushinwizards
 
REACTJS1.ppsx
REACTJS1.ppsx
IshwarSingh501217
 
React js
React js
Nikhil Karkra
 
React Interview Question & Answers PDF By ScholarHat
React Interview Question & Answers PDF By ScholarHat
Scholarhat
 
Introduction Web Development using ReactJS
Introduction Web Development using ReactJS
ssuser8a1f37
 
ReactJS presentation.pptx
ReactJS presentation.pptx
DivyanshGupta922023
 
React Interview Question PDF By ScholarHat
React Interview Question PDF By ScholarHat
Scholarhat
 
React Components and Its Importance.docx
React Components and Its Importance.docx
React Masters
 
unit 3_Adv WTAdvanced Web Tecg Design_HTML_CSS_JAVASCRIPT_AJAX_PPT.pdf
unit 3_Adv WTAdvanced Web Tecg Design_HTML_CSS_JAVASCRIPT_AJAX_PPT.pdf
GauravDwivedi695361
 
Dyanaimcs of business and economics unit 2
Dyanaimcs of business and economics unit 2
jpm071712
 
Introduction to ReactJS UI Web Dev .pptx
Introduction to ReactJS UI Web Dev .pptx
SHAIKIRFAN715544
 
unit 2 React js.pptxdgdgdgdgdgdgdgdgdsgdgdg
unit 2 React js.pptxdgdgdgdgdgdgdgdgdsgdgdg
zmulani8
 
Review on React JS
Review on React JS
ijtsrd
 
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
React JS; all concepts. Contains React Features, JSX, functional & Class comp...
Karmanjay Verma
 
React js introduction about it's features
React js introduction about it's features
SaiM947604
 
100 React Interview questions 2024.pptx.pdf
100 React Interview questions 2024.pptx.pdf
codevincent624
 
react js training|react js training in mumbai|
react js training|react js training in mumbai|
programmersclubonlin
 
Presentation on "An Introduction to ReactJS"
Presentation on "An Introduction to ReactJS"
Flipkart
 
GDSC NITS Presents Kickstart into ReactJS
GDSC NITS Presents Kickstart into ReactJS
Pratik Majumdar
 
What is React programming used for_ .pdf
What is React programming used for_ .pdf
ayushinwizards
 
React Interview Question & Answers PDF By ScholarHat
React Interview Question & Answers PDF By ScholarHat
Scholarhat
 
Introduction Web Development using ReactJS
Introduction Web Development using ReactJS
ssuser8a1f37
 
React Interview Question PDF By ScholarHat
React Interview Question PDF By ScholarHat
Scholarhat
 
React Components and Its Importance.docx
React Components and Its Importance.docx
React Masters
 
unit 3_Adv WTAdvanced Web Tecg Design_HTML_CSS_JAVASCRIPT_AJAX_PPT.pdf
unit 3_Adv WTAdvanced Web Tecg Design_HTML_CSS_JAVASCRIPT_AJAX_PPT.pdf
GauravDwivedi695361
 
Dyanaimcs of business and economics unit 2
Dyanaimcs of business and economics unit 2
jpm071712
 
Introduction to ReactJS UI Web Dev .pptx
Introduction to ReactJS UI Web Dev .pptx
SHAIKIRFAN715544
 
Ad

Recently uploaded (20)

LDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDM & Mia eStudios
 
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Pragya - UEM Kolkata Quiz Club
 
What is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptx
Ramakrishna Reddy Bijjam
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
Unit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptx
bobby205207
 
IDF 30min presentation - December 2, 2024.pptx
IDF 30min presentation - December 2, 2024.pptx
ArneeAgligar
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
How to Manage Multi Language for Invoice in Odoo 18
How to Manage Multi Language for Invoice in Odoo 18
Celine George
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
LDMMIA GRAD Student Check-in Orientation Sampler
LDMMIA GRAD Student Check-in Orientation Sampler
LDM & Mia eStudios
 
Overview of Off Boarding in Odoo 18 Employees
Overview of Off Boarding in Odoo 18 Employees
Celine George
 
Black and White Illustrative Group Project Presentation.pdf (1).pdf
Black and White Illustrative Group Project Presentation.pdf (1).pdf
AnnasofiaUrsini
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
Quiz Club of PSG College of Arts & Science
 
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Veera Pallapu
 
Revista digital preescolar en transformación
Revista digital preescolar en transformación
guerragallardo26
 
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
Belicia R.S
 
june 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptx
roger malina
 
Unit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdf
KRUTIKA CHANNE
 
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Restu Bias Primandhika
 
LDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDMMIA Free Reiki Yoga S9 Grad Level Intuition II
LDM & Mia eStudios
 
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Pragya - UEM Kolkata Quiz Club
 
What is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptx
Ramakrishna Reddy Bijjam
 
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
Energy Balances Of Oecd Countries 2011 Iea Statistics 1st Edition Oecd
razelitouali
 
Unit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptx
bobby205207
 
IDF 30min presentation - December 2, 2024.pptx
IDF 30min presentation - December 2, 2024.pptx
ArneeAgligar
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
How to Manage Multi Language for Invoice in Odoo 18
How to Manage Multi Language for Invoice in Odoo 18
Celine George
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
LDMMIA GRAD Student Check-in Orientation Sampler
LDMMIA GRAD Student Check-in Orientation Sampler
LDM & Mia eStudios
 
Overview of Off Boarding in Odoo 18 Employees
Overview of Off Boarding in Odoo 18 Employees
Celine George
 
Black and White Illustrative Group Project Presentation.pdf (1).pdf
Black and White Illustrative Group Project Presentation.pdf (1).pdf
AnnasofiaUrsini
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Webcrawler_Mule_AIChain_MuleSoft_Meetup_Hyderabad
Veera Pallapu
 
Revista digital preescolar en transformación
Revista digital preescolar en transformación
guerragallardo26
 
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
ROLE PLAY: FIRST AID -CPR & RECOVERY POSITION.pptx
Belicia R.S
 
june 10 2025 ppt for madden on art science is over.pptx
june 10 2025 ppt for madden on art science is over.pptx
roger malina
 
Unit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdf
KRUTIKA CHANNE
 
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Restu Bias Primandhika
 
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.