Don't limit the Usage of TypeScript to Angular 2! Learn the Basics, its Features, Workflows and how to use it!
About This Video
This course reflects the latest version of TypeScript, and incorporates tons of feedback.
Understand what TypeScript really it is about and how works
Why TypeScript offers a real advantage over vanilla JavaScript
Learn TypeScript in theory and apply it to real use cases and projects
Learn how to combine TypeScript …
Understanding TypeScript – 2020 Edition
Video description
Don't limit the Usage of TypeScript to Angular 2! Learn the Basics, its Features, Workflows and how to use it!
About This Video
This course reflects the latest version of TypeScript, and incorporates tons of feedback.
Understand what TypeScript really it is about and how works
Why TypeScript offers a real advantage over vanilla JavaScript
Learn TypeScript in theory and apply it to real use cases and projects
Learn how to combine TypeScript with ReactJS or Node.js/Express
In Detail
Most people know TypeScript from Angular 2+. It's the language you must use there, right? It's more than that! Learn what TypeScript is, why it really is a powerful addition to JavaScript, what its features are, and how to use it! And while doing so, also understand what you're doing in your Angular code.
This course takes you from the very basics and its most important feature (Types!) to a point where you're able to use TypeScript in any of your projects—ReactJS projects included! As TypeScript is developed by Microsoft and used a lot by Angular 2+ (Google), it's here to stay. Gain an edge today and be amongst the first to really understand TypeScript!
A Journey into the Future - As TypeScript code can be compiled to ES5, you'll be amazed by the many next-gen features you can start using today. ES6 features such as destructuring or arrow functions, decorators, generics and interfaces or modules—TypeScript has them all! In this course, we'll not stop at the basics. You will learn about more advanced features and how to set up workflows with TypeScript. This includes TypeScript-only workflows as well as workflows using Gulp or Webpack. You'll also learn that you're not limited to Angular 2+ or plain JavaScript/TypeScript projects. One complete module covers how to use TypeScript with ReactJS to benefit from its features, too. You'll practice what you learn.
Watching videos is a great way to learn. And for a lot of students, it's the best way. If you also want to practice the things you learn, this course offers you exercises (and solutions) in many of the course modules. So much content!
In this course, you'll get insights into:
Types and how to use them
How the TypeScript compiler works
ES6 features in TypeScript
Classes in TypeScript
Namespaces and modules
Interfaces, generics, and decorators
How to integrate third-party JavaScript libraries into your TypeScript projects
How to set up a TypeScript project with Webpack
Or how to set up a plain TypeScript workflow
How to use TypeScript together with ReactJS
How to use TypeScript together with Node/Express
Real projects and use cases!
Who this book is for
This course is for every student who wants to extend his or her horizon beyond vanilla JavaScript. Everyone learning Angular should understand how TypeScript works.
Chapter 3 : The TypeScript Compiler and Configuration
Module Introduction
Using ‘Watch Mode’
Compiling the Entire Project / Multiple Files
Including Excluding Files
Setting a Compilation Target
Understanding TypeScript Core Libs
More Configuration Compilation Options
Working with Source Maps
rootDir and outDir
Stop Emitting Files on Compilation Errors
Strict Compilation
Code Quality Options
Debugging with Visual Studio Code
Wrap Up
Chapter 4 : Next-generation JavaScript TypeScript
Module Introduction
’let’ and ‘const’
Arrow Functions
Default Function Parameters
The Spread Operator (…)
Rest Parameters
Array Object Destructuring
How Code Gets Compiled Wrap Up
Chapter 5 : Classes Interfaces
Module Introduction
What are Classes?
Creating a First Class
Compiling to JavaScript
Constructor Functions The ’this’ Keyword
‘private’ and ‘public’ Access Modifiers
Shorthand Initialization
‘readonly’ Properties
Inheritance
Overriding Properties The ‘protected’ Modifier
Getters Setters
Static Methods Properties
Abstract Classes
Singletons Private Constructors
Classes - A Summary
A First Interface
Using Interfaces with Classes
Why Interfaces?
Readonly Interface Properties
Extending Interfaces
Interfaces as Function Types
Optional Parameters Properties
Compiling Interfaces to JavaScript
Wrap Up
Chapter 6 : Advanced Types
Module Introduction
Intersection Types
More on Type Guards
Discriminated Unions
Type Casting
Index Properties
Function Overloads
Optional Chaining
Nullish Coalescing
Wrap Up
Chapter 7 : Generics
Module Introduction
Built-in Generics What are Generics?
Creating a Generic Function
Working with Constraints
Another Generic Function
The ‘keyof’ Constraint
Generic Classes
A First Summary
Generic Utility Types
Generic Types vs Union Types
Chapter 8 : Decorators
Module Introduction
A First-Class Decorator
Working with Decorator Factories
Building More Useful Decorators
Adding Multiple Decorators
Diving into Property Decorators
Accessor Parameter Decorators
When Do Decorators Execute?
Returning (and changing) a Class in a Class Decorator
Other Decorator Return Types
Example: Creating an ‘Autobind’ Decorator
Validation with Decorators - First Steps
Validation with Decorators - Finished
Wrap Up
Chapter 9 : Practice Time! Let’s build a Drag Drop Project
Module Introduction
Getting Started
DOM Element Selection OOP Rendering
Interacting with DOM Elements
Creating Using an ‘Autobind’ Decorator
Fetching User Input
Creating a Re-Usable Validation Functionality
Rendering Project Lists
Managing Application State with Singletons
More Classes Custom Types
Filtering Projects with Enums
Adding Inheritance Generics
Rendering Project Items with a Class
Using a Getter
Utilizing Interfaces to Implement Drag Drop
Drag Events Reflecting the Current State in the UI
Adding a Droppable Area
Finishing Drag Drop
Wrap Up
Chapter 10 : Modules Namespaces
Module Introduction
Writing Module Code - Your Options
Working with Namespaces
Organizing Files Folders
A Problem with Namespace Imports
Using ES Modules
Understanding various Import Export Syntaxes
How Does Code In Modules Execute?
Wrap Up
Chapter 11 : Using Webpack with TypeScript
Module Introduction
What is Webpack Why do we need it?
Installing Webpack Important Dependencies
Adding Entry Output Configuration
Adding TypeScript Support with the ts-loader Package
Finishing the Setup Adding webpack-dev-server
Adding a Production Workflow
Wrap Up
Chapter 12 : 3rd Party Libraries TypeScript
Module Introduction
Using JavaScript (!) Libraries with TypeScript
Using ‘declare’ as a ‘Last Resort’
No Types Needed: class-transformer
TypeScript-embracing: class-validator
Wrap Up
Chapter 13 : Time to Practice! Let’s build a “Select Share a Place” App (incl. Google Maps)
Module Introduction
Project Setup
Getting User Input
Setting Up a Google API Key
Using Axios to Fetch Coordinates for an Entered Address
Rendering a Map with Google Maps (incl. Types!)
Chapter 14 : React.js TypeScript
Module Introduction
Setting Up a React + TypeScript Project
How Do React + TypeScript Work Together?
Working with Props and Types for Props
Getting User Input with ‘refs’
Cross-Component Communication
Working with State Types
Managing State Better
More Props State Work
Adding Styling
Types for other React Features (e.g. Redux or Routing)
Wrap Up
Chapter 15 : Node.js + Express TypeScript
Module Introduction
Executing TypeScript Code with Node.js
Setting up a Project
Finished Setup Working with Types (in Node + Express Apps)
Adding Middleware Types
Working with Controllers Parsing Request Bodies
More CRUD Operations
Wrap Up
Chapter 16 : Course Roundup
Roundup
Start your Free Trial Self paced Go to the Course We have partnered with providers to bring you collection of courses, When you buy through links on our site, we may earn an affiliate commission from provider.
This site uses cookies. By continuing to use this website, you agree to their use.I Accept