This course introduces you to the essential building blocks of TypeScript through a hands-on approach. You'll explore the fundamentals of TypeScript, learn to leverage TypeScript in React, and explore TypeScript in Express, plus build a TypeScript-based project. TypeScript catches errors before your code even runs. That means fewer bugs, smoother projects, and less rage-quitting! Plus, its type system makes refactoring and collaborating a breeze. In the first module, Getting Started with TypeScript, you'll cover: - Basic, literal & custom types - Arrays, objects & optional properties - Union types Module Two, Applying Advanced TypeScript concepts, introduces you to: - Narrowing, return types, and utility types - Function calls Module Three, TypeScript in React, will acquaint you with: - Initialising a React + TypeScript project - Typing useState, props & components - Working with JSX that may return null Finally, in the TypeScript in Express module, you'll get to grips with: - Setting up a TS-powered Express server - Typed requests, responses & data - Handling CORS, 404s, IDs & query params - Automating server restarts with confidence Ready to make your code safer? Let's go!
What you'll learn
understand basic, literal, and custom types in TypeScript
apply advanced TypeScript concepts like narrowing and utility types
initialize and type a React project using TypeScript