Book Image

Building Web Applications with TypeScript, Angular and React

By : Sahil Malik
Book Image

Building Web Applications with TypeScript, Angular and React

By: Sahil Malik

Overview of this book

TypeScript offers a sliding scale of how much or how little effort you want to put into your declarations: the more effort you put in, the more type safety and code intelligence you get. You will begin this course by learning the fundamentals of TypeScript and eventually move toward advanced concepts. You'll learn how TypeScript relates to JavaScript that you might have written before. You'll understand the benefits of TypeScript and how helps you to avoid software defects. We will learn to use type guards, check null and undefined, create tagged union types, and compare the performance of algorithms. You'll use TypeScript to build a weather forecast widget with Angular, and then build a note-taking client/server application using Angular, Node.js, and MongoDB. Finally, you will create a real-time chat application with React.
Table of Contents (4 chapters)
Chapter 4
Real-Time Chat
Content Locked
Section 3
Getting started with React
Let us get started with React. Here’s what we will cover in this section: - Creating a Component with JSX - Adding Props and State to a Component - Creating a React Component with TypeScript - Creating the Menu - Testing the Application