Course Overview
TOPIntroduction to React | React Essentials is a three-day hands-on course designed to get you quickly up and running with core React skills. Geared for more experienced web developers new to React, this course provides you with the core knowledge and hands-on skills required to build reliable and powerful React apps.
Throughout the course you ll explore React fundamentals with a progressive, example-driven approach. You ll create your first apps, learn how to write components, start handling user interaction, and manage rich forms. We end the first part by exploring the inner workings of Create React App (Facebook s tool for running React apps), writing automated unit tests, and building a multi-page app that uses client-side routing.
Every project in this course was built using Create React App. Create React App is based on Webpack, a tool which helps process and bundle our various JavaScript, CSS, HTML, and image files. We ll explore Creating React App in-depth in the module Using Webpack with Create React App. You ll also build Single Page Applications (SPA), create robust routing with error handling, and explore both class and functional reusable components.
Scheduled Classes
TOP09/30/24 - GVT - Virtual Classroom - Virtual Instructor-Led | |
09/30/24 - GVT - Virtual Classroom - Virtual Instructor-Led | |
11/18/24 - GVT - Virtual Classroom - Virtual Instructor-Led | |
11/18/24 - GVT - Virtual Classroom - Virtual Instructor-Led |
Outline
TOPES6 Primer
- Prefer const and let over var
- Arrow functions
- Modules
- Object.assign()
- Template literals
- The spread operator and Rest parameters
- Enhanced object literals
- Default arguments
- Destructuring assignments
Your First React Web Application
- Setting up your development environment
- Code editor
- Node.js and npm
- Install Git
- Browser
- JavaScript ES6 /ES7
- Getting started
- Sample Code
- Previewing the application
- Prepare the app
- What s a component?
- Our first component
- JSX
- The developer console
- Babel
- ReactDOM.render()
- Building The App
- Making The App data-driven
- The data model
- Using props
- Rendering multiple products
- Your app s first interaction
- Propagating the event
- Binding custom component methods
- Using state
- Setting state with this.setState()
- Updating state and immutability
- Refactoring with the Babel plugin transform-class-properties
- Babel plugins and presets
- Property initializers
- Refactoring The App
- Refactoring The List
JSX and the Virtual DOM
- React Uses a Virtual DOM
- Why Not Modify the Actual DOM?
- What is a Virtual DOM?
- Virtual DOM Pieces
- ReactElement
- Experimenting with ReactElement
- Rendering Our ReactElement
- Adding Text (with children)
- ReactDOM.render()
JSX
- Creates Elements
- Attribute Expressions
- Conditional Child Expressions
- Boolean Attributes
- Comments
- Spread Syntax
- Gotchas
- Summary
Prerequisites
TOPBefore attending this course, you should be familiar with CSS, HTML5, and JavaScript.
Who Should Attend
TOPWeb Developers