React: Using TypeScript (2019)

React: Using TypeScript (2019)

53mAdvanced2019-02-05

Authors

Emmanuel Henri

Emmanuel Henri

Executive with 20+ years of experience in programming and design

Course details

TypeScript offers developers a more structured approach to JavaScript application development, and is a natural fit for the build processes most React developers are already using. Combining the component approach in React with the discipline of TypeScript enables you to build clean web applications that will be easier to maintain over time. In this course, instructor Emmanuel Henri explains shows how to use TypeScript with React. He starts with a review of basic and complex types and functional and stateful components. Then he shows how to use TypeScript interfaces to improve your React code. Finally, learn how to implement higher-order components to reuse components while adding new functionality.

Learning objectives
Basic and complex types
Functional/stateless components
Class/stateful components
Interfaces with React and TypeScript
Implementing higher-order components

Skills covered

TypeScriptReact.jsMetaFront-End Web DevelopmentWeb DevelopmentOpen SourceDeep Dive (X:Y)

Concepts

Introduction

  • Create web apps using the React component approach with TypeScript
  • What you should know

Setup and Basics

  • Initialize a React project
  • Install TypeScript

First Steps - React and TypeScript

  • Introduction to TypeScript with React
  • Basic types
  • Other complex types
  • Functional stateless component intro
  • Functional stateless component syntax
  • Class stateful component intro
  • Class stateful component syntax

Interfaces with React TS

  • Introduction to interface
  • Define our state
  • Review best practices interfaces

Highere-Order Components in TypeScript

  • Overview of higher-order components (HOCs)
  • Implement HOCs in TypeScript
  • HOCs best practices

Conclusion

  • Next steps
40,000 Toman