SlideShare ist ein Scribd-Unternehmen logo
1 von 31
React
With an intro to UI/UX, HTML/CSS & JS!
Giang & Brian
What We’ll Cover
Why does a good user
experience matter?
UI/UX
Refresh on basic HTML
and DOM structures!
HTML/CSS
Learn about basic
Javascript
Javascript
Learn about components
and more!
React Basics
How do I keep my
frontend flexible?
Dynamic Rendering
“Hook” into our component
states!
React Hooks
01
04
02
05
03
06
We’ll Create a React
App!
and most importantly…
What is UI/UX?
UX (User Experience)
All aspects of end-user interactions with a
service or product.
UI (User Interface)
The look, feel, and interactivity of an
experience.
What is UI/UX?
● A product always begins with its
UI/UX design.
● Consider user needs and wants
● Compose layouts and prototypes
● Requires fundamental design skills
A bad design is very noticeable!
Wireframing
Wireframing is a crucial part of the UI/UX process
of frontend design.
It could be thought of as a prototyping stage,
creating a mockup that is either:
- Low-fidelity: used to create the layout of
the the design.
- High-fidelity: builds off of the low-fidelity
mockup, adds style elements.
A wireframe should always be made before
writing any frontend code!
Good UI/UX Vs. Bad UI/UX
Spot which one’s which!
Taking this into
account…
Let’s work towards building something ourselves!
HTML: A Refresher
HTML (HyperText Markup Language) is a
standard markup language used to create
websites.
An HTML document consists of a series of
elements (tags).
Every HTML document uses a DOM model..
It’s the most fundamental language for web
development!
CSS: A Refresher
CSS is used to style HTML elements that are
displayed on the screen.
A CSS document consists of selectors.
The Result!
JavaScript Overview
● Created to program web apps
● Designed to be easy to learn
● One of the world’s most popular
programming languages
We won’t cover everything, just enough to
program in React!
Variables in JavaScript
Variables are containers for storing data.
A variable is declared with:
- const if you would like the data to be immutable.
- var if you would like the data to be mutable and
function-scoped
- Nowadays, you don’t usually use var!
- let if you would like the data to be mutable and block-
scoped
Data types in JavaScript
Data types define the type of a variable.
JavaScript is not strongly-typed language, meaning the same
variable can hold different values.
Functions (Normal vs. Arrow)
A function—like in other programming languages—is a piece of
code that is executed when something calls it.
Arrow functions provide closure to the environment around it.
It allows us to shorten function syntax, writing “const hello = ()
=> {}” rather than “const hello = function() {}”!
JSX
● JSX is a syntax extension of JavaScript
● Used in React, but isn’t required
● Allows us to write HTML elements in
JavaScript
● Intertwines the markup and logic of
web apps
Let’s learn React!
Finally…
What is React?
● A JavaScript framework
created by Meta
● Allows devs to quickly build
user-friendly web apps with
a modular infrastructure
● The most popular JavaScript
framework
Why React?
● Easily organize your code
into reusable components
● Can dynamically render
websites without refreshing
● Due to its popularity, there is
a lot of community support
Components
A component is a JavaScript class/function
that returns a React element.
When creating a React component, keep
reusability in mind! This is very important.
More About Components
Components can be rendered in two ways:
with or without children.
With children:
<button>
Login
</button>
Without children:
<NavBar />
More About Components
When creating a component, you can reuse
it inside another component!
When you write code between tags, it is
exposed to a component called children.
More About Components
Finally, you can also create components
with multiple properties!
The ({ url, title, desc }) seen is a process
called object destructuring. This pulls the
values out of the properties object (the {url,
title, desc}!) and represents them as “url”,
“title”, and “desc” respectively!
How do you dynamically
render data?
Wait but…
Dynamic Rendering
Dynamic render allows us to render components based on data!
In the code below, we:
1. Insert JavaScript into the JSX (wrap it in { … })
2. Call map on the array of users, map:
a. Iterates over the array
b. Applies a function to each element
c. Returns an array of results
3. Render a new Avatar object with each contributor’s information
Hooks
● “Hook” into a component’s
lifecycle and call methods
for any state!
● Useful when a component
needs to fetch data on load
or perform actions on a page
● Examples:
○ useState
○ useEffect
○ useRef
○ useContext
Due to time, we won’t be covering the component
lifecycle but it’s useful to know!
Using useState
useState is used to save the internal state
of a component. The hook has a state and
setter function!
This data persists after each re-render,
which is useful if a component needs to
display different information!
It causes a re-render whenever the state is
different from its previous state.
Let’s start coding!
Important Resources
Starter Code (this includes instructions for our project!):
https://github.com/utm-cssc/frontend-workshop-2022
React Resources:
- https://reactjs.org/
HTML/CSS Resources:
- https://www.w3schools.com/html/
- https://www.w3schools.com/css/
- https://www.w3schools.com/js/
UI/UX:
- https://grow.google/certificates/ux-design/
- any design course!
Resources
- https://reactjs.org/ (Official React Docs)
- https://www.w3schools.com/REACT/DEFAULT.ASP (W3S for react)
- https://www.w3schools.com/ (You can also use W3S to learn JS, HTML and
CSS)
- Reach out to us!
This presentation template was created by
Slidesgo, including icons by Flaticon, infographics
& images by Freepik and illustrations by Stories
Thanks for Coming!
Credit to Jarrod Servilla for portions of the
content in this workshop!

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

React for Beginners
React for BeginnersReact for Beginners
React for Beginners
 
Springboot Microservices
Springboot MicroservicesSpringboot Microservices
Springboot Microservices
 
Introduction to Spring Boot
Introduction to Spring BootIntroduction to Spring Boot
Introduction to Spring Boot
 
Understanding react hooks
Understanding react hooksUnderstanding react hooks
Understanding react hooks
 
Domain-Driven Design
Domain-Driven DesignDomain-Driven Design
Domain-Driven Design
 
React JS - Introduction
React JS - IntroductionReact JS - Introduction
React JS - Introduction
 
React Components Lifecycle | React Tutorial for Beginners | ReactJS Training ...
React Components Lifecycle | React Tutorial for Beginners | ReactJS Training ...React Components Lifecycle | React Tutorial for Beginners | ReactJS Training ...
React Components Lifecycle | React Tutorial for Beginners | ReactJS Training ...
 
React hooks
React hooksReact hooks
React hooks
 
React js
React jsReact js
React js
 
DEVSECOPS.pptx
DEVSECOPS.pptxDEVSECOPS.pptx
DEVSECOPS.pptx
 
React JS
React JSReact JS
React JS
 
Rethinking Best Practices
Rethinking Best PracticesRethinking Best Practices
Rethinking Best Practices
 
Its time to React.js
Its time to React.jsIts time to React.js
Its time to React.js
 
Json Web Token - JWT
Json Web Token - JWTJson Web Token - JWT
Json Web Token - JWT
 
React JS - A quick introduction tutorial
React JS - A quick introduction tutorialReact JS - A quick introduction tutorial
React JS - A quick introduction tutorial
 
Understanding react hooks
Understanding react hooksUnderstanding react hooks
Understanding react hooks
 
Introduction to spring boot
Introduction to spring bootIntroduction to spring boot
Introduction to spring boot
 
All about Context API
All about Context APIAll about Context API
All about Context API
 
Introduction to React JS for beginners
Introduction to React JS for beginners Introduction to React JS for beginners
Introduction to React JS for beginners
 
Introduction to RxJS
Introduction to RxJSIntroduction to RxJS
Introduction to RxJS
 

Ähnlich wie React Workshop

Javascript spaghetti stirtrek_5_17
Javascript  spaghetti stirtrek_5_17Javascript  spaghetti stirtrek_5_17
Javascript spaghetti stirtrek_5_17
Jared Faris
 
Intro to BackboneJS + Intermediate Javascript
Intro to BackboneJS + Intermediate JavascriptIntro to BackboneJS + Intermediate Javascript
Intro to BackboneJS + Intermediate Javascript
Andrew Lovett-Barron
 
Basics java scripts
Basics java scriptsBasics java scripts
Basics java scripts
ch samaram
 
Java Script - A New Look
Java Script - A New LookJava Script - A New Look
Java Script - A New Look
rumsan
 

Ähnlich wie React Workshop (20)

Javascript spaghetti stirtrek_5_17
Javascript  spaghetti stirtrek_5_17Javascript  spaghetti stirtrek_5_17
Javascript spaghetti stirtrek_5_17
 
Intro to BackboneJS + Intermediate Javascript
Intro to BackboneJS + Intermediate JavascriptIntro to BackboneJS + Intermediate Javascript
Intro to BackboneJS + Intermediate Javascript
 
Building Rich User Experiences Without JavaScript Spaghetti
Building Rich User Experiences Without JavaScript SpaghettiBuilding Rich User Experiences Without JavaScript Spaghetti
Building Rich User Experiences Without JavaScript Spaghetti
 
Web Development with Delphi and React - ITDevCon 2016
Web Development with Delphi and React - ITDevCon 2016Web Development with Delphi and React - ITDevCon 2016
Web Development with Delphi and React - ITDevCon 2016
 
Service worker API
Service worker APIService worker API
Service worker API
 
20180518 QNAP Seminar - Introduction to React Native
20180518 QNAP Seminar - Introduction to React Native20180518 QNAP Seminar - Introduction to React Native
20180518 QNAP Seminar - Introduction to React Native
 
Introduction to Functional Reactive Web with Clojurescript
Introduction to Functional Reactive Web with ClojurescriptIntroduction to Functional Reactive Web with Clojurescript
Introduction to Functional Reactive Web with Clojurescript
 
Basics java scripts
Basics java scriptsBasics java scripts
Basics java scripts
 
WTA-MODULE-4.pptx
WTA-MODULE-4.pptxWTA-MODULE-4.pptx
WTA-MODULE-4.pptx
 
Java Script - A New Look
Java Script - A New LookJava Script - A New Look
Java Script - A New Look
 
Introduction to mean and mern || Event by DSC UNIDEB
Introduction to mean and mern || Event by DSC UNIDEBIntroduction to mean and mern || Event by DSC UNIDEB
Introduction to mean and mern || Event by DSC UNIDEB
 
Final ppt
Final pptFinal ppt
Final ppt
 
Fewd week4 slides
Fewd week4 slidesFewd week4 slides
Fewd week4 slides
 
GDSC NITS Presents Kickstart into ReactJS
GDSC NITS Presents Kickstart into ReactJSGDSC NITS Presents Kickstart into ReactJS
GDSC NITS Presents Kickstart into ReactJS
 
Getting Started with React, When You’re an Angular Developer
Getting Started with React, When You’re an Angular DeveloperGetting Started with React, When You’re an Angular Developer
Getting Started with React, When You’re an Angular Developer
 
Lezione 03 Introduzione a react
Lezione 03   Introduzione a reactLezione 03   Introduzione a react
Lezione 03 Introduzione a react
 
Angular interview questions
Angular interview questionsAngular interview questions
Angular interview questions
 
Silverlight Developer Introduction
Silverlight   Developer IntroductionSilverlight   Developer Introduction
Silverlight Developer Introduction
 
Intro to mobile web application development
Intro to mobile web application developmentIntro to mobile web application development
Intro to mobile web application development
 
ClojureScript - Making Front-End development Fun again - John Stevenson - Cod...
ClojureScript - Making Front-End development Fun again - John Stevenson - Cod...ClojureScript - Making Front-End development Fun again - John Stevenson - Cod...
ClojureScript - Making Front-End development Fun again - John Stevenson - Cod...
 

Mehr von GDSC UofT Mississauga

Mehr von GDSC UofT Mississauga (20)

CSSC ML Workshop
CSSC ML WorkshopCSSC ML Workshop
CSSC ML Workshop
 
ICCIT Council × GDSC: UX / UI and Figma
ICCIT Council × GDSC: UX / UI and FigmaICCIT Council × GDSC: UX / UI and Figma
ICCIT Council × GDSC: UX / UI and Figma
 
Community Projects Info Session Fall 2023
Community Projects Info Session Fall 2023Community Projects Info Session Fall 2023
Community Projects Info Session Fall 2023
 
GDSC x Deerhacks - Origami Workshop
GDSC x Deerhacks - Origami WorkshopGDSC x Deerhacks - Origami Workshop
GDSC x Deerhacks - Origami Workshop
 
Reverse Engineering 101
Reverse Engineering 101Reverse Engineering 101
Reverse Engineering 101
 
Michael's OWASP Juice Shop Workshop
Michael's OWASP Juice Shop WorkshopMichael's OWASP Juice Shop Workshop
Michael's OWASP Juice Shop Workshop
 
MCSS × GDSC: Intro to Cybersecurity Workshop
MCSS × GDSC: Intro to Cybersecurity WorkshopMCSS × GDSC: Intro to Cybersecurity Workshop
MCSS × GDSC: Intro to Cybersecurity Workshop
 
Basics of C
Basics of CBasics of C
Basics of C
 
Discord Bot Workshop Slides
Discord Bot Workshop SlidesDiscord Bot Workshop Slides
Discord Bot Workshop Slides
 
Web Scraping Workshop
Web Scraping WorkshopWeb Scraping Workshop
Web Scraping Workshop
 
Devops Workshop
Devops WorkshopDevops Workshop
Devops Workshop
 
Express
ExpressExpress
Express
 
HTML_CSS_JS Workshop
HTML_CSS_JS WorkshopHTML_CSS_JS Workshop
HTML_CSS_JS Workshop
 
DevOps Workshop Part 1
DevOps Workshop Part 1DevOps Workshop Part 1
DevOps Workshop Part 1
 
Docker workshop GDSC_CSSC
Docker workshop GDSC_CSSCDocker workshop GDSC_CSSC
Docker workshop GDSC_CSSC
 
Back-end (Flask_AWS)
Back-end (Flask_AWS)Back-end (Flask_AWS)
Back-end (Flask_AWS)
 
Git Init (Introduction to Git)
Git Init (Introduction to Git)Git Init (Introduction to Git)
Git Init (Introduction to Git)
 
Database Workshop Slides
Database Workshop SlidesDatabase Workshop Slides
Database Workshop Slides
 
ChatGPT General Meeting
ChatGPT General MeetingChatGPT General Meeting
ChatGPT General Meeting
 
Elon & Twitter General Meeting
Elon & Twitter General MeetingElon & Twitter General Meeting
Elon & Twitter General Meeting
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Kürzlich hochgeladen (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

React Workshop

  • 1. React With an intro to UI/UX, HTML/CSS & JS! Giang & Brian
  • 2. What We’ll Cover Why does a good user experience matter? UI/UX Refresh on basic HTML and DOM structures! HTML/CSS Learn about basic Javascript Javascript Learn about components and more! React Basics How do I keep my frontend flexible? Dynamic Rendering “Hook” into our component states! React Hooks 01 04 02 05 03 06
  • 3. We’ll Create a React App! and most importantly…
  • 4. What is UI/UX? UX (User Experience) All aspects of end-user interactions with a service or product. UI (User Interface) The look, feel, and interactivity of an experience.
  • 5. What is UI/UX? ● A product always begins with its UI/UX design. ● Consider user needs and wants ● Compose layouts and prototypes ● Requires fundamental design skills A bad design is very noticeable!
  • 6. Wireframing Wireframing is a crucial part of the UI/UX process of frontend design. It could be thought of as a prototyping stage, creating a mockup that is either: - Low-fidelity: used to create the layout of the the design. - High-fidelity: builds off of the low-fidelity mockup, adds style elements. A wireframe should always be made before writing any frontend code!
  • 7. Good UI/UX Vs. Bad UI/UX Spot which one’s which!
  • 8. Taking this into account… Let’s work towards building something ourselves!
  • 9. HTML: A Refresher HTML (HyperText Markup Language) is a standard markup language used to create websites. An HTML document consists of a series of elements (tags). Every HTML document uses a DOM model.. It’s the most fundamental language for web development!
  • 10. CSS: A Refresher CSS is used to style HTML elements that are displayed on the screen. A CSS document consists of selectors.
  • 12. JavaScript Overview ● Created to program web apps ● Designed to be easy to learn ● One of the world’s most popular programming languages We won’t cover everything, just enough to program in React!
  • 13. Variables in JavaScript Variables are containers for storing data. A variable is declared with: - const if you would like the data to be immutable. - var if you would like the data to be mutable and function-scoped - Nowadays, you don’t usually use var! - let if you would like the data to be mutable and block- scoped
  • 14. Data types in JavaScript Data types define the type of a variable. JavaScript is not strongly-typed language, meaning the same variable can hold different values.
  • 15. Functions (Normal vs. Arrow) A function—like in other programming languages—is a piece of code that is executed when something calls it. Arrow functions provide closure to the environment around it. It allows us to shorten function syntax, writing “const hello = () => {}” rather than “const hello = function() {}”!
  • 16. JSX ● JSX is a syntax extension of JavaScript ● Used in React, but isn’t required ● Allows us to write HTML elements in JavaScript ● Intertwines the markup and logic of web apps
  • 18. What is React? ● A JavaScript framework created by Meta ● Allows devs to quickly build user-friendly web apps with a modular infrastructure ● The most popular JavaScript framework
  • 19. Why React? ● Easily organize your code into reusable components ● Can dynamically render websites without refreshing ● Due to its popularity, there is a lot of community support
  • 20. Components A component is a JavaScript class/function that returns a React element. When creating a React component, keep reusability in mind! This is very important.
  • 21. More About Components Components can be rendered in two ways: with or without children. With children: <button> Login </button> Without children: <NavBar />
  • 22. More About Components When creating a component, you can reuse it inside another component! When you write code between tags, it is exposed to a component called children.
  • 23. More About Components Finally, you can also create components with multiple properties! The ({ url, title, desc }) seen is a process called object destructuring. This pulls the values out of the properties object (the {url, title, desc}!) and represents them as “url”, “title”, and “desc” respectively!
  • 24. How do you dynamically render data? Wait but…
  • 25. Dynamic Rendering Dynamic render allows us to render components based on data! In the code below, we: 1. Insert JavaScript into the JSX (wrap it in { … }) 2. Call map on the array of users, map: a. Iterates over the array b. Applies a function to each element c. Returns an array of results 3. Render a new Avatar object with each contributor’s information
  • 26. Hooks ● “Hook” into a component’s lifecycle and call methods for any state! ● Useful when a component needs to fetch data on load or perform actions on a page ● Examples: ○ useState ○ useEffect ○ useRef ○ useContext Due to time, we won’t be covering the component lifecycle but it’s useful to know!
  • 27. Using useState useState is used to save the internal state of a component. The hook has a state and setter function! This data persists after each re-render, which is useful if a component needs to display different information! It causes a re-render whenever the state is different from its previous state.
  • 29. Important Resources Starter Code (this includes instructions for our project!): https://github.com/utm-cssc/frontend-workshop-2022 React Resources: - https://reactjs.org/ HTML/CSS Resources: - https://www.w3schools.com/html/ - https://www.w3schools.com/css/ - https://www.w3schools.com/js/ UI/UX: - https://grow.google/certificates/ux-design/ - any design course!
  • 30. Resources - https://reactjs.org/ (Official React Docs) - https://www.w3schools.com/REACT/DEFAULT.ASP (W3S for react) - https://www.w3schools.com/ (You can also use W3S to learn JS, HTML and CSS) - Reach out to us!
  • 31. This presentation template was created by Slidesgo, including icons by Flaticon, infographics & images by Freepik and illustrations by Stories Thanks for Coming! Credit to Jarrod Servilla for portions of the content in this workshop!

Hinweis der Redaktion

  1. And most importantly, we’ll create a React App
  2. So what is React? Well it’s a JavaScript framework created by Meta It was created to allow devs to quickly build web apps with a modular infrastructure And as we code with Giang you can see that while being exposed to a framework for the first time may be daunting, it’s actually quite easy to use! And that’s why currently, React is the most popular JavaScript framework
  3. Note: Might talk a little bit about DOM tree here
  4. Practice: Add your name in the Intro component!
  5. Practice: create your own Footer component and add to the homepage!
  6. Practice: Use props to display your the contact data in Contact page, by completing the ContactInfo component
  7. Practice: Use props to display your the contact data in Contact page, but now with all data from constants.js
  8. Practice: Add state to the Home page navbar, and pass such state as props to Content Pane
  9. Complete the rest of the website (and TODOs)!