March 2023
Intermediate to advanced
474 pages
8h 54m
English
In this chapter, we will start by understanding what TypeScript is and how it provides a much richer type system on top of JavaScript. We will learn about the basic types in TypeScript, such as numbers and strings, and then learn how to create our own types to represent objects and arrays using different TypeScript features. Finally, we will finish the chapter by understanding the TypeScript compiler and its key options in a React app.
By the end of the chapter, you’ll be ready to learn how to use TypeScript to build frontends with React.
In this chapter, we’ll cover the following topics:
Read now
Unlock full access