8396  Reviews star_rate star_rate star_rate star_rate star_half

Introduction to React using TypeScript

React is a JavaScript library for building web user interfaces and is one of the most wanted and loved web frameworks today. React makes it painless to create interactive UIs on top of web standards....

Read More
$2,000 USD
Duration 3 days
Course Code INTRO-REACT-TYP-AC
Available Formats Classroom

Overview

React is a JavaScript library for building web user interfaces and is one of the most wanted and loved web frameworks today. React makes it painless to create interactive UIs on top of web standards. In this Introduction to React using TypeScript training course, students will gain hands-on experience with the latest version of React and the tools for developing React applications. Developers learn the skills they need to immediately build React applications using the TypeScript language.

Skills Gained

All students will learn how to:

  • Use a JavaScript package manager (either npm or Yarn)
  • Understand the new JavaScript language features, including classes, modules, and arrow functions
  • Use TypeScript to enable additional language features including static typing and generics
  • Articulate what React is and why it is useful
  • Explore the basic architecture of a React application
  • Gain a deep understanding of JSX and the Virtual DOM
  • Use React components to build interactive interfaces
  • Create and validate forms using controlled components
  • Make HTTP calls to read or change data
  • Explore the common component architecture patterns
  • Configure simple and complex routing
  • Learn React best practices

Prerequisites

Students must have object-oriented programming experience. Some experience with JavaScript is helpful; the new language features of JavaScript and TypeScript are covered/reviewed in class.

Course Details

Software Requirements

  • Google Chrome and/or Firefox with Firebug
  • Other modern browsers as desired
  • IDE/development environment of your choice
  • Other free software and lab files that Ascendient Learning would specify, including Node.js

React and TypeScript Training Outline

Introduction

Package Manager (npm/Yarn)

  • npm
  • What is Node.js?
  • What is npm?
  • Using npm
  • npm Scripts
  • Yarn
  • Why Yarn?
  • npm vs. Yarn
  • Installation
  • Using Yarn

Compiler Setup

  • Setup TypeScript Compiler (tsc)

ES6/ES2015

  • Classes
  • Scope (var, let, const)
  • Arrow Functions
  • Modules
  • Template Literals
  • Default, Rest, Spread
  • Default
  • Rest
  • Spread
  • Destructuring
  • Optional Parameters
  • Object.assign()
  • Object Initializer

TypeScript

  • Understanding TypeScript, ES6, and ES5
  • How TypeScript Works
  • Who is Behind TypeScript?
  • Type Annotations
  • Classes
  • Fields
  • Parameter Properties
  • Member visibility (public, private, protected)
  • Automatically Import Modules
  • Nullable Parameters
  • Interfaces

Project Setup (Create React App)

  • Create new Project
  • Folder Structure
  • Browser Support
  • Styles and Assets
  • Dependencies

Best Practices (Code Organization & Conventions

React Overview

  • Why React?
  • What is it?
  • Why it is useful?
  • Angular, React Compared
  • Web application architectures
  • Server-side web application architecture
  • Single-page web application architecture
  • React Architecture

Elements

  • Hello World in JavaScript
  • Hello World in React

JSX

  • Replacing createElement
  • Embedding Expressions
  • Specifying Attributes

Virtual DOM

Components

  • Creating an Element
  • Create a Function Component
  • Rendering a Component
  • Creating a Class Component
  • Composing & Reuse

Props

  • Read-only
  • String Literals vs. Expressions
  • Function vs. Class Components

Events

  • Listening/Subscribing/Wiring to an Event
  • In Vanilla JavaScript
  • In React: Function Component
  • In React: Class Component
  • Binding
  • Why Binding is Necessary?
  • Class Method
  • Arrow Function
  • Passing Parameters
  • Using Arrow Functions
  • Using Bind
  • Handling Events
  • Using Arrow Functions
  • Using Bind
  • Synthetic Events

State

  • Definition
  • State in Function Components
  • useState Hook
  • State in Class Components
  • Mutating state with setState
  • Using State Correctly
  • Data Flows Down

Side Effects & Lifecycle

  • useEffect Hook
  • What does useEffect do?
  • Using useEffect
  • useEffect Demo
  • What are Lifecycle Methods
  • Understanding Mounting
  • Common vs. Less Common Methods
  • Using Lifecycle Methods

Conditional Rendering

  • If, else
  • Conditional Operator (?)
  • Logical (&&) Operator

Lists

  • In Vanilla JavaScript: for loop, array.forEach, array.map
  • In React: using Elements, Components
  • Why Keys are Needed

Component Architecture

  • Reuse
  • Component Communication
  • Design Patterns
  • Container and Presentation Components
  • Composition vs. Inheritance

Forms

  • Controlled Components
  • Reuse of Change Logic across Multiple Inputs
  • Handling Form Submission
  • Controlling Other Form Elements: select, textarea, number
  • Validation
  • Uncontrolled Components

HTTP

  • Axios library
  • Fetch API
  • Using with React (HTTP GET)
  • Refactoring for Reuse
  • HTTP POST, PUT, DELETE

Routing (React Router)

  • Installation
  • Basics
  • Handling Not Found (404) (as time permits)
  • Parameters (Url & Query) (as time permits)
  • Nesting (as time permits)

Hooks

  • Defined
  • Why Hooks?
  • No Breaking API Changes
  • Hooks API
  • useState
  • useEffect
  • Custom Hooks
  • Rules of Hooks

Build & Deploy (as time permits)

  • Building a React Application for Production
  • Deploying a React Application
  • Serving Apps with Client-Side Routing
  • Customizing Environment Variables

React with TypeScript

  • Installation/Setup
  • Props Interfaces
  • State Interfaces
  • Typing Event Handlers

Schedule

FAQ

Does the course schedule include a Lunchbreak?

Classes typically include a 1-hour lunch break around midday. However, the exact break times and duration can vary depending on the specific class. Your instructor will provide detailed information at the start of the course.

What languages are used to deliver training?

Most courses are conducted in English, unless otherwise specified. Some courses will have the word "FRENCH" marked in red beside the scheduled date(s) indicating the language of instruction.

What does GTR stand for?

GTR stands for Guaranteed to Run; if you see a course with this status, it means this event is confirmed to run. View our GTR page to see our full list of Guaranteed to Run courses.

Does Ascendient Learning deliver group training?

Yes, we provide training for groups, individuals and private on sites. View our group training page for more information.

What does vendor-authorized training mean?

As a vendor-authorized training partner, we offer a curriculum that our partners have vetted. We use the same course materials and facilitate the same labs as our vendor-delivered training. These courses are considered the gold standard and, as such, are priced accordingly.

Is the training too basic, or will you go deep into technology?

It depends on your requirements, your role in your company, and your depth of knowledge. The good news about many of our learning paths, you can start from the fundamentals to highly specialized training.

How up-to-date are your courses and support materials?

We continuously work with our vendors to evaluate and refresh course material to reflect the latest training courses and best practices.

Are your instructors seasoned trainers who have deep knowledge of the training topic?

Ascendient Learning instructors have an average of 27 years of practical IT experience and have also served as consultants for an average of 15 years. To stay current, instructors spend at least 25 percent of their time learning new, emerging technologies and courses.

Do you provide hands-on training and exercises in an actual lab environment?

Lab access is dependent on the vendor and the type of training you sign up for. However, many of our top vendors will provide lab access to students to test and practice. The course description will specify lab access.

Will you customize the training for our company’s specific needs and goals?

We will work with you to identify training needs and areas of growth.  We offer a variety of training methods, such as private group training, on-site of your choice, and virtually. We provide courses and certifications that are aligned with your business goals.

How do I get started with certification?

Getting started on a certification pathway depends on your goals and the vendor you choose to get certified in. Many vendors offer entry-level IT certification to advanced IT certification that can boost your career. To get access to certification vouchers and discounts, please contact info@ascendientlearning.com.

Will I get access to content after I complete a course?

You will get access to the PDF of course books and guides, but access to the recording and slides will depend on the vendor and type of training you receive.

How do I request a W9 for Ascendient Learning?

View our filing status and how to request a W9.

Reviews

it was good and very informative. Instructure covered everything in detail.

Instructor knew her stuff. Long time in the industry. Course was easy to follow and very informative.

very good and spcecific course and above all a very good instructor. In few days I have learned a lot.

ExitCertified provided us with a great opportunity to learn more about React and in easy to follow way.

The class covered the concepts needed for the AWS Cloud Practitioner Certification.