SlideShare a Scribd company logo
Introduction to React
• Dmitry Grechko
• Rubizza Mentor and Full-Stack
Developer
• Minsk, Belarus
• Github: mrgrecha
Intoduction to React
What is react?
React is a UI library. It’s all.
Why should we use react?
• It’s fast.
• There are many libs to solve your issues.
• It’s quite easy to start.
• Mentors told you to use it.
How to start?
• React create app (https://facebook.github.io/create-react-app/
docs/getting-started). For rails: https://medium.com/
@bruno_boehm/reactjs-ruby-on-rails-api-heroku-
app-2645c93f0814
• React gems (https://www.freecodecamp.org/news/how-to-
create-a-rails-project-with-a-react-and-redux-front-
end-8b01e17a1db/)
Main concepts
• Components
• JSX
• Props
• State
• Rendering and rerendering
• Lifecycle
How does react component
look like?
Class component
How does react component
look like?
Function component
What is JSX?
It’s just syntax sugar for react.
More about JSX
• https://ru.reactjs.org/docs/introducing-jsx.html
• https://habr.com/ru/post/319270/
Props
Just parameters that you send from one component
to another
Props
State
Rendering and lifecycle
What is DOM?
https://bitsofco.de/what-exactly-is-the-dom/
Why React is so fast?
When you
try to
realize
everything
that you
have
learned
now
What’s next?
Ajax
What’s next?
Redux
Intoduction to React
What should I read?
• Official react documentation (https://reactjs.org/). Tutorial +
Docs
• Russian version: https://ru.reactjs.org/docs/getting-
started.html
• Redux documentation(https://redux.js.org/)
• Redux in pictures (https://medium.com/russian/a-cartoon-
intro-to-redux-e2108896f7e6)
• ES6 docs (https://habr.com/ru/post/305900/)

More Related Content

What's hot (20)

PDF
MidwestJS 2014 Reconciling ReactJS as a View Layer Replacement
Zach Lendon
 
PDF
Reconciling ReactJS as a View Layer Replacement (MidwestJS 2014)
Zach Lendon
 
PPTX
React Native
Artyom Trityak
 
PDF
React native: building native iOS apps with javascript
Polidea
 
PDF
JSFoo-2017 Takeaways
Mir Ali
 
PPTX
Presentation1
Kshitiz Rimal
 
PDF
Angular 2 vs React
Iran Reyes Fleitas
 
PDF
React native-meetup-talk
kiranabburi
 
PPTX
React Native
Huqiu Liao
 
PDF
Rags to Open Source - AllThingsOpen, Raleigh, NC 2014
Mike McNeil
 
PPT
Next generation frontend tooling
pksjce
 
PDF
Angular 2 vs React. What to chose in 2017?
TechMagic
 
PDF
Why use Go for web development?
Weng Wei
 
PPTX
Node Primer
Wes Eklund
 
PPTX
Geb+spock: let your functional tests live long and prosper
Esther Lozano
 
PPTX
State of angular ecosystem
Giovanni Cândido da Silva
 
PPTX
Coding for the cloud - development of modern web applications
Wekoslav Stefanovski
 
PDF
Daniel Steigerwald: EsteJS - javascriptové aplikace robusně, modulárně a komf...
Develcz
 
PPT
Hacking the way you work
Fotis Alexandrou
 
PDF
Getting Started with React Native (and should I use it at all?)
Devin Abbott
 
MidwestJS 2014 Reconciling ReactJS as a View Layer Replacement
Zach Lendon
 
Reconciling ReactJS as a View Layer Replacement (MidwestJS 2014)
Zach Lendon
 
React Native
Artyom Trityak
 
React native: building native iOS apps with javascript
Polidea
 
JSFoo-2017 Takeaways
Mir Ali
 
Presentation1
Kshitiz Rimal
 
Angular 2 vs React
Iran Reyes Fleitas
 
React native-meetup-talk
kiranabburi
 
React Native
Huqiu Liao
 
Rags to Open Source - AllThingsOpen, Raleigh, NC 2014
Mike McNeil
 
Next generation frontend tooling
pksjce
 
Angular 2 vs React. What to chose in 2017?
TechMagic
 
Why use Go for web development?
Weng Wei
 
Node Primer
Wes Eklund
 
Geb+spock: let your functional tests live long and prosper
Esther Lozano
 
State of angular ecosystem
Giovanni Cândido da Silva
 
Coding for the cloud - development of modern web applications
Wekoslav Stefanovski
 
Daniel Steigerwald: EsteJS - javascriptové aplikace robusně, modulárně a komf...
Develcz
 
Hacking the way you work
Fotis Alexandrou
 
Getting Started with React Native (and should I use it at all?)
Devin Abbott
 

Similar to Intoduction to React (20)

PPTX
Cycling for noobs
Steve Lee
 
PDF
Frontend as a first class citizen
Marcin Grzywaczewski
 
PPTX
React. Flux. Redux. by Andrey Kolodnitskiy
Valeriia Maliarenko
 
PDF
Luna - How to build and maintain a github project
Panayiotis Arvanitis
 
PPTX
Frontend War: Angular vs React vs Vue
Marudi Subakti
 
PPTX
GDG Workshop on React (By Aakanksha Rai)
gdgoncampuslncts
 
PPTX
Introduction to react native with redux
Mike Melusky
 
PDF
An Introduction to ReactNative
Michał Taberski
 
PDF
Salvatore Laisa - Da Angular a React - Un viaggio inaspettato
Codemotion
 
PPTX
React.js at Cortex
Geoff Harcourt
 
PPTX
Reactive Web Development with Spring Boot 2
Mike Melusky
 
PPTX
Isomorphic JavaScript with Node, WebPack, and React
Tyler Peterson
 
PPTX
React tech talk @ CMU
Alan Dong
 
KEY
Google App Engine Java, Groovy and Gaelyk
Guillaume Laforge
 
PPTX
All about that reactive ui
Paul van Zyl
 
PDF
Prototyping like it is 2022
Michael Yagudaev
 
PDF
How to write a web framework
Ngoc Dao
 
PDF
The Ideas of Clojure - Things I learn from Clojure
Hsuan Fu Lien
 
PPTX
Swagger - Making REST APIs friendlier
Miroslav Resetar
 
PPTX
Angular 2
Travis van der Font
 
Cycling for noobs
Steve Lee
 
Frontend as a first class citizen
Marcin Grzywaczewski
 
React. Flux. Redux. by Andrey Kolodnitskiy
Valeriia Maliarenko
 
Luna - How to build and maintain a github project
Panayiotis Arvanitis
 
Frontend War: Angular vs React vs Vue
Marudi Subakti
 
GDG Workshop on React (By Aakanksha Rai)
gdgoncampuslncts
 
Introduction to react native with redux
Mike Melusky
 
An Introduction to ReactNative
Michał Taberski
 
Salvatore Laisa - Da Angular a React - Un viaggio inaspettato
Codemotion
 
React.js at Cortex
Geoff Harcourt
 
Reactive Web Development with Spring Boot 2
Mike Melusky
 
Isomorphic JavaScript with Node, WebPack, and React
Tyler Peterson
 
React tech talk @ CMU
Alan Dong
 
Google App Engine Java, Groovy and Gaelyk
Guillaume Laforge
 
All about that reactive ui
Paul van Zyl
 
Prototyping like it is 2022
Michael Yagudaev
 
How to write a web framework
Ngoc Dao
 
The Ideas of Clojure - Things I learn from Clojure
Hsuan Fu Lien
 
Swagger - Making REST APIs friendlier
Miroslav Resetar
 
Ad

More from Rubizza (9)

PDF
Linux commands-effectiveness
Rubizza
 
PDF
Sinatra
Rubizza
 
PDF
Catch and Throw in Ruby
Rubizza
 
PDF
Variables, expressions, standard types
Rubizza
 
PDF
Git
Rubizza
 
PDF
Hangout Utche #6. "Rambovidnaya problema"
Rubizza
 
PDF
Hangout Utche #6. Math Thinking
Rubizza
 
PDF
Rubizza #1 | Special Lecture. Vim
Rubizza
 
PPTX
Rubizza #1 Lecture Ruby OOP
Rubizza
 
Linux commands-effectiveness
Rubizza
 
Sinatra
Rubizza
 
Catch and Throw in Ruby
Rubizza
 
Variables, expressions, standard types
Rubizza
 
Git
Rubizza
 
Hangout Utche #6. "Rambovidnaya problema"
Rubizza
 
Hangout Utche #6. Math Thinking
Rubizza
 
Rubizza #1 | Special Lecture. Vim
Rubizza
 
Rubizza #1 Lecture Ruby OOP
Rubizza
 
Ad

Recently uploaded (20)

PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PPTX
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
Q2 FY26 Tableau User Group Leader Quarterly Call
lward7
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 

Intoduction to React