Course Overview
Composition vs Inheritance? You'll understand it. Build your own web framework? You'll do it. Typescript with React/Redux? It's here!
--------------------
This is the best course online for mastering Typescript.
Every other course online teaches you the basic syntax and features of Typescript, but only this course will show you how to apply Typescript on real projects, instructing you how to build large, successful projects through example.
Typescript is a 'super-set' of Javascript. That means that if you already know Javascript, you are ready to take this course. Typescript adds in several important features to Javascript, including a type system. This type system is designed to help you catch errors during development, rather than when you are running your code. That means you'll be twice as productive by catching bugs earlier in development. But besides the type system, Typescript also provides several tools for structuring large codebases and writing truly reusable code.
Mastering Typescript by reading the documentation alone is challenging. Although you might know what a 'typed array' or an 'interface' is, the documentation (and other courses!) don't show you where to use this features, or how to use them effectively. The goal of this course is to help you understand why each feature of Typescript exists, and exactly where to use them.
Top companies are hungry for Typescript developers. Some of the largest web apps today are being built with Typescript. Employers are scrambling to find engineers who are fluent with this cutting edge system. Solid knowledge of Typescript will make you far more employable, by giving you a unique skill that few other engineers possess.
Planning on building your own apps? Using Typescript will help you structure your project correctly from day one, ensuring that you won't be crushed under technical debt at some critical stage of your company. In this course, you'll learn how to write reusable code, with a tremendous emphasis on leveraging classes and interfaces to make swappable 'widgets'. You will be able to reconfigure your apps on the fly to build wildly different features with only a minimum amount of effort
Learn from someone who has worked on one of the largest Typescript projects around. On professional projects of my own, I have developed plugins for an open-source, browser-based code editor called Theia. The Theia project is absolutely gargantuan in scale, encompassing hundreds of thousands of lines of code, all written in Typescript. This project works only thanks to the power of Typescript.
But don't just take my word for it - check out the reviews for this course! You'll see that other engineers, just like yourself, have had great success and acquired a new understanding of how to build scalable web applications.
--------------------
There is just too much content in this course to summarize in a few short words, but here is a partial listing of the different skills you'll master:
Understand why Composition vs Inheritance is the most mis-understood topic in the Javascript community
Master the fundamental features of Typescript by working on real world projects
We'll build a custom front-end framework from scratch that you can use in place of React or Angular on your own personal projects
Comprehend the complex interplay between classes and interfaces, and why these two pieces of Typescript enable you to build incredibly reusable code
Dive deeper into Typescript with decorators, which we'll use to build a custom integration between Typescript and Express
Structure your React and Redux applications more confidently by understanding how to couple them with Typescript
Skip the documentation for third party libraries by fluently reading type definition files
Learn just how smart Typescript is by experiencing how deeply it analyzes your code for errors
I learned Typescript years ago by hard trial-and-error. Now you can learn at 5x the speed I did. This is the course that I wish I had when I first got started with Typescript.
FAQ
FAQ area empty
Course curriculum
Chương 1 Getting Started with Typescript 11 bài · 39 phút
- How to Get Help Học thử 1:04
- Course Resources Học thử
- Typescript Overview Học thử 6:19
-
Environment Setup 7:36
- Starter TypeScript Project Files Học thử
- A First App Học thử 3:10
-
Executing Typescript Code 4:55
- Reminder on npx tsx Command Học thử
- One Quick Change Học thử 3:35
-
Catching Errors with Typescript 7:22
-
Catching More Errors! 5:15
Chương 2 What is a Type System? 6 bài · 20 phút
-
Do Not Skip - Course Overview 3:35
-
Types 5:12
-
More on Types 5:53
-
Examples of Types 4:48
-
Where Do We Use Types? 0:49
-
Types
Chương 3 Type Annotations in Action 9 bài · 41 phút
-
Type Annotations and Inference 2:03
-
Annotations with Variables 4:53
-
Object Literal Annotations 6:53
-
Annotations Around Functions 5:55
-
Understanding Inference 3:51
-
The 'Any' Type 7:47
-
Fixing the 'Any' Type 1:49
-
Delayed Initialization 3:05
-
When Inference Doesn't Work 4:37
Chương 4 Annotations With Functions and Objects 6 bài · 26 phút
-
More on Annotations Around Functions 4:56
-
Inference Around Functions 6:08
-
Annotations for Anonymous Functions 1:42
-
Void and Never 2:49
-
Destructuring with Annotations 3:35
-
Annotations Around Objects 7:05
Chương 5 Mastering Typed Arrays 4 bài · 13 phút
-
Arrays in Typescript 5:05
-
Why Typed Arrays? 4:30
-
Multiple Types in Arrays 2:57
-
When to Use Typed Arrays 0:54
Chương 6 Tuples in Typescript 3 bài · 13 phút
-
Tuples in Typescript 4:04
-
Tuples in Action 5:28
-
Why Tuples? 3:20
Chương 7 The All-Important Interface 8 bài · 26 phút
-
Interfaces 1:26
-
Long Type Annotations 4:42
-
Fixing Long Annotations with Interfaces 4:36
-
Syntax Around Interfaces 3:31
-
Functions in Interfaces 4:46
-
Code Reuse with Interfaces 4:15
-
General Plan with Interfaces 3:12
-
Interfaces
Chương 8 Building Functionality with Classes 6 bài · 25 phút
-
Classes 3:47
-
Basic Inheritance 3:03
-
Instance Method Modifiers 6:41
-
Fields in Classes 6:18
-
Fields with Inheritance 4:18
-
Where to Use Classes 1:09
Chương 9 Design Patterns with Typescript 25 bài · 2 giờ 7 phút
-
App Overview 2:26
-
Required Starter Files
-
Bundling with Parcel 4:24
-
Project Structure 3:19
-
Generating Random Data 4:51
-
Type Definition Files 3:25
-
Installing Faker Type Definitions
-
Using Type Definition Files 6:16
-
Export Statements in Typescript 5:06
-
Defining a Company 4:43
-
Note on Generating an API Key
-
Adding Google Maps Support 7:38
-
Google Maps Integration 1:45
-
Exploring Type Definition Files 12:46
-
Hiding Functionality 6:28
-
Why Use Private Modifiers? Here's Why 8:25
-
Adding Markers 9:18
-
Duplicate Code 2:45
-
One Possible Solution 6:38
-
Restricting Access with Interfaces 5:35
-
Implicit Type Checks 3:26
-
Showing Popup Windows 6:47
-
Updating Interface Definitions 7:11
-
Optional Implements Clauses 6:06
-
App Wrapup 8:08
Chương 10 More on Design Patterns 24 bài · 2 giờ 35 phút
-
App Overview 1:34
-
Configuring the TS Compiler 7:40
-
Concurrent Compilation and Execution 5:05
-
A Simple Sorting Algorithm 4:47
-
Sorter Scaffolding 3:10
-
Sorting Implementation 5:17
-
Two Huge Issues 7:37
-
Typescript is Really Smart 9:34
-
Type Guards 9:13
-
Why is This Bad? 2:22
-
Extracting Key Logic 7:29
-
Separating Swapping and Comparison 13:58
-
The Big Reveal 4:38
-
Interface Definition 4:48
-
Sorting Arbitrary Collections 11:08
-
Linked List Implementation 24:15
-
Completed Linked List Code
-
Just...One...More...Fix... 4:03
-
Integrating the Sort Method 2:44
-
Issues with Inheritance 6:54
-
Abstract Classes 6:25
-
Why Use Abstract Classes? 4:30
-
Solving All Issues with Abstract Classes 3:59
-
Interfaces vs Abstract Classes 3:23
Chương 11 Reusable Code 37 bài · 3 giờ 8 phút
-
Project Overview 1:45
-
Project Setup 5:57
-
CSV Data
-
Type Definition Files - Again! 6:45
-
Reading CSV Files 5:04
-
Running an Analysis 4:22
-
Losing Dataset Context 5:12
-
Using Enums 6:19
-
When to Use Enums 7:04
-
Extracting CSV Reading 8:50
-
Data Types 2:33
-
Converting Date Strings to Dates 5:02
-
Converting Row Values 3:37
-
Type Assertions 3:57
-
Describing a Row with a Tuple 7:28
-
Not Done with FileReader Yet! 3:14
-
Understanding Refactor #1 4:35
-
Creating Abstract Classes 4:21
-
Variable Types with Generics 11:27
-
Applying a Type to a Generic Class 4:11
-
Alternate Refactor 4:20
-
Interface-Based Approach 2:04
-
Extracting Match References - Again! 2:33
-
Transforming Data 2:36
-
Updating Reader References 3:39
-
Inheritance vs Composition 3:20
-
More on Inheritance vs Composition 7:22
-
A Huge Misconception Around Composition 14:56
-
Goal Moving Forward 5:16
-
A Composition-Based Approach 6:26
-
Implementing an Analyzer Class 7:24
-
Building the Reporter 5:26
-
Putting It All Together 3:35
-
Generating HTML Reports 5:09
-
One Last Thing! 5:34
-
Oops, My Bad 3:14
-
App Wrapup 3:33
Chương 12 Advanced Generics 4 bài · 20 phút
-
More on Generics 5:04
-
Type Inference with Generics 2:49
-
Function Generics 6:05
-
Generic Constraints 5:50
Chương 13 Let's Build a Web Framework 76 bài · 6 giờ 51 phút
-
App Overview 2:45
-
Reminder on Using Parcel with npx
-
Parcel Setup 2:42
-
Framework Structure 8:05
-
Designing the User 2:48
-
Retrieving User Properties 5:59
-
Optional Interface Properties 6:36
-
An Eventing System 2:44
-
Listener Support 4:23
-
Storing Event Listeners 5:24
-
Dynamic Array Creation 5:27
-
Triggering Event Callbacks 3:56
-
Small Update for JSON server and Parcel Start Script
-
Adding JSON Server 7:14
-
Understanding REST Conventions 8:52
-
Adding Fetch Functionality 5:12
-
Successfully Fetching Model Data 4:50
-
Saving User Data 8:57
-
Refactoring with Composition 3:48
-
Re-Integrating Eventing 12:49
-
Composition with Nested Objects 2:45
-
A More Complicated Extraction 2:48
-
Options for Adapting Sync 9:31
-
Refactoring Sync 10:40
-
Generic Constraints Around Sync 3:30
-
Connecting Sync Back to User 4:29
-
Optional Properties 7:00
-
No overload matches this call - this.data
-
Extracting an Attributes Class 3:12
-
The Get Method's Shortcoming 6:18
-
Two Important Rules 7:06
-
An Advanced Generic Constraint 9:35
-
Re-Integrating Attributes 3:17
-
Composition is Delegation 4:39
-
Reminder on Accessors 5:07
-
Passthrough Methods 6:55
-
A Context Issue 8:37
-
Setting Data While Triggering 3:22
-
Fetching User Data 6:26
-
Saving Data 5:38
-
Composition vs Inheritance...Again! 9:02
-
Extracting a Model Class 7:29
-
Extending the User 5:24
-
Final User Refactor 3:48
-
Model Wrapup 3:38
-
Shortened Passthrough Methods 5:38
-
Users Collection 3:25
-
Implementing a Users Collection 3:01
-
Parsing User JSON 7:12
-
Generic User Collection 6:22
-
A Class Method for Collections 2:14
-
View Classes 4:03
-
Building the UserForm 4:45
-
The UserForm's Render Method 3:03
-
Rendering HTML 2:06
-
Defining an Events Map 6:13
-
Binding Event Handlers 7:06
-
Adding Model Properties 4:15
-
Binding Events on Class Name 5:07
-
Adding Methods to the User 4:30
-
Re-Rendering on Model Change 4:56
-
Reading Input Text 4:39
-
Strict Null Checks 6:11
-
Reusable View Logic 12:25
-
Extracting a View Class 4:10
-
Type 'K' does not satisfy the constraint 'HasId'.ts
-
Extending with Generic Constraints 12:14
-
Saving Data From a View 3:57
-
UserEdit and UserShow 6:12
-
Nesting with Regions 4:48
-
Mapping Regions 5:40
-
Testing Region Mapping 4:00
-
View Nesting 6:53
-
Collection Views 2:20
-
CollectionView Implementation 16:52
-
App Wrapup 3:35
Chương 14 Express + Typescript Integration 16 bài · 1 giờ 36 phút
-
Typescript with JS Libraries 5:34
-
App Overview 3:19
-
Project Setup 3:31
-
Basic Routes with Express 6:31
-
Using an Express Router 3:45
-
Parsing Form Bodies 5:55
-
Why Doesn't Express Play Nicely with TS? 13:55
-
Issues with Type Definition Files 10:16
-
Dealing with Poor Type Defs 6:28
-
Wiring Up Sessions 8:35
-
Checking Login Status 3:19
-
Logging Out 1:09
-
Protecting Routes 4:51
-
A Closer Integration 6:33
-
The Refactoring Process 3:14
-
Prototypes Reminder 8:43
Chương 15 Decorators 8 bài · 37 phút
-
Note about target environment in tsconfig
-
Decorators in Typescript 6:48
-
Details on Decorators 7:40
-
Property Descriptors 6:11
-
Wrapping Methods with Descriptors 2:07
-
Decorator Factories 2:46
-
Decorators Around Properties 3:57
-
More on Decorators 7:31
Chương 16 Advanced Express and TS Integration 24 bài · 2 giờ 4 phút
-
A Quick Disclaimer 0:58
-
Project Overview 8:17
-
Why is This Hard? 7:06
-
Solution Overview 5:51
-
Note about target environment in tsconfig
-
Basics of Metadata 8:46
-
Practical Metadata 11:08
-
Let's Refactor! 4:51
-
The 'Get' Decorator 4:24
-
ES2016 Fix for Controller Decorator
-
The Controller Decorator 4:20
-
Proof of Concept 5:12
-
A Few Fixups 8:09
-
Defining a RouteBinder 5:03
-
Closed Method Sets with Enums 7:38
-
Metadata Keys 3:43
-
The 'Use' Decorator 8:01
-
Testing Use 3:22
-
Body Validators 5:55
-
Automated Validation 3:25
-
Testing Automated Validation 5:36
-
Fixing Routes 6:02
-
Using Property Descriptors for Type Checking 5:17
-
App Wrapup 1:22
Chương 17 React and Redux Class Components with Typescript 25 bài · 1 giờ 42 phút
-
React and Redux Overview 6:05
-
App Overview 2:06
-
Required React App Boilerplate and ReactDOM Warning
-
Simple Components 3:35
-
Interfaces with Props 3:25
-
Handling Component State 2:30
-
Confusing Component State! 10:40
-
Functional Components 3:15
-
CreateStore Strikethrough in Code Editor
-
Redux Setup 7:31
-
Action Creators with Typescript 6:45
-
Action Types Enum 4:51
-
The Generic Dispatch Function 4:48
-
A Reducer with Enums 6:46
-
Validating Store Structure 5:06
-
Connecting a Component to Redux 6:10
-
Rendering a List 4:36
-
Adding in Delete Functionality 2:53
-
Breaking Out Action Creators 3:20
-
Expressing Actions as Type Union 4:07
-
Type Guards in Reducers 2:48
-
Wiring up deleteToDo Action
-
Again, Type Definition Files 3:01
-
Tracking Loading with Component State 4:06
-
App Wrapup 3:38
Chương 18 React Functional Components with TypeScript 17 bài · 1 giờ 4 phút
-
Required React App Boilerplate and ReactDOM Warning
-
File Extensions and Starting Up React 4:34
-
Changes with TypeScript 2:33
-
The Big Difference with Props 3:53
-
Explicit Component Type Annotations 5:50
-
Property 'children' does not exist
-
Annotations with Children 5:47
-
State with TypeScript 4:41
-
Type Inference with State 5:41
-
Quick Finish to the Example 0:55
-
More on State 4:19
-
Type Unions in State 5:41
-
Inline Event Handlers 3:18
-
Typing Standalone Event Handlers 2:39
-
Handling Drag Events Too! 3:43
-
Applying Types to Refs 5:35
-
More on Refs 4:29
Chương 19 Redux with Functional Components and TypeScript 27 bài · 1 giờ 30 phút
-
App Overview 2:04
-
Required React App Boilerplate
-
Redux Store Design 8:53
-
Reducer Setup 8:16
-
Annotating the Return Type 1:26
-
Typing an Action 1:54
-
Separate Interfaces for Actions 4:21
-
Applying Action Interfaces 4:22
-
Adding an Action Type Enum 5:41
-
A Better Way to Organize Code 3:36
-
Small Update for Try / Catch Block
-
Adding Action Creators 4:27
-
Adding Request Logic 3:14
-
Applying Typings to Dispatch 2:46
-
CreateStore Strikethrough in Code Editor
-
Setting Up Exports 4:19
-
Wiring Up to React 3:24
-
Oops... Initial State! 1:03
-
Reminder on Event Types 2:59
-
TypeScript Error When Dispatching Action
-
Calling an Action Creator 3:05
-
Binding Action Creators 4:21
-
Selecting State 4:16
-
Awkward Typings Around React-Redux 4:46
-
Creating a Typed Selector 4:00
-
Consuming Store State 3:02
-
Quick Wrapup - Final Lecture 3:18
Chương 20 Extras 1 bài
-
Bonus!
Requirment
-
Basic knowledge of ES2015 Javascript
Outcomes
-
Master design patterns for building large applications
-
Integrate Typescript into React/Redux or Express projects
-
Understand Composition vs Inheritance, and when to use each
-
Write reusable code powered by classes and interfaces
-
Assemble reusable boilerplates for your own Typescript projects
0 Student
12 Courses
0 review