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
Duration 3 days
Available Formats Classroom
6697 Reviews star_rate star_rate star_rate star_rate star_half
Course Image

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)
  • Quickly understand the new JavaScript language features, including classes, modules, and arrow functions
  • 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
  • Configure simple and complex routing
  • Implement React best practices


All attendees must be experienced JavaScript developers with a fairly advanced understanding of JavaScript, including prototypes and functions as first-class citizens. If your group doesn’t yet have this experience, we could readily add one or two days to the beginning of your course to appropriately prepare them.

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 Accelebrate would specify, including Node.js

React and TypeScript Training Outline


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)


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


  • 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
  • Generics (as time permits)

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


  • Hello World in JavaScript
  • Hello World in React


  • Replacing createElement
  • Embedding Expressions
  • Specifying Attributes

Virtual DOM


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


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


  • 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


  • Defining
  • Using State Correctly
  • Data Flows Down
  • Converting a Function Component to a Class Component


  • What are Lifecycle Methods
  • Understanding Mounting
  • Common vs. Less Common Methods
  • Using Lifecycle Methods

Conditional Rendering

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


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

Component Architecture

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


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


  • Axios library
  • Fetch API
  • Using with React (HTTP GET)
  • Refactoring for Reuse

Routing (React Router)

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


  • 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


Contact Us 1-800-803-3948
Contact Us
FAQ Get immediate answers to our most frequently asked qestions. View FAQs arrow_forward