Course Overview
You've learned React, but what now? Time to build an awesome project for your portfolio!
Prove your React knowledge to employers.
There are hundreds of resources online for teaching you the basics of React, but few of them go beyond the basics. You need more - something to teach you how to build a large, interesting app. Something unique, something more than another to-do list.
This course is your answer.
Kick off your learning experience with an introduction on how to use React and Typescript together. Not familiar with Typescript? No problem! A lightning fast - but comprehensive - tutorial is included!
Once you're ready with React and Typescript, you'll dive into our big project. You are going to build an interactive browser-based coding environment. It's like a Jupyter Notebook, but for Javascript, with many additional features added in. Yes, this is what you are going to build in this course! You will solve incredible challenges around bundling and transpiling code directly in the browser. This is a task normally done by running Webpack and Babel at your terminal! You will execute users' code safely in the browser just like how famous services like CodeSandBox and CodePen do. Finally, you'll deploy this project using a multi-package architecture to NPM, where your friends and employers can easily download and run your project.
During this entire project, I will show you a variety of different solutions to an incredible number of problems. I will show you step-by-step how to solve each problem. You will also see many concerns around performance and security addressed.
At the end of the course, you will have an amazing portfolio project with excellent looks and functionality. You will understand every line of code, and be able to explain every bit to potential employers.
Here's a partial list of the topics that will be covered in this course:
Master the use of React, Redux, and Typescript together
Build a complex and interesting app using a package-based architecture
Understand the challenges of in-browser code transpiling and and processing
Secure your app against potential security exploits
Safely execute user-provided code directly in the browser
Run a code editor directly in the browser - the same editor used by VSCode!
Leverage Web Assembly to run a code bundler directly in the browser at lightning-fast speeds
Use the internals of Redux to manually test out your business logic
Discover dozens of tricks to build a sleek UI
Deploy your app to the NPM registry, where others can easily use it
I built this course to help you apply your React skills. Sign up today and build an incredible app that will prove your knowledge.
FAQ
FAQ area empty
Course curriculum
Chương 1 React with Typescript 5 bài · 7 phút
Chương 2 Types Around Props and State 10 bài · 39 phút
-
Changes with TypeScript 2:33
-
The Big Difference with Props 3:53
- Explicit Component Type Annotations Học thử 5:50
-
Property 'children' does not exist
-
Annotations with Children 5:47
- State with TypeScript Học thử 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
Chương 3 Types Around Events and Refs 6 bài · 29 phút
-
Inline Event Handlers 3:18
-
Typing Standalone Event Handlers 2:39
-
Handling Drag Events Too! 3:44
-
TypeScript with Class Components 9:03
-
Applying Types to Refs 5:35
-
More on Refs 4:29
Chương 4 Typescript with Redux 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 3:24
Chương 5 The Big App - Here's What We're Building! 2 bài · 12 phút
-
App Overview 6:15
-
Three Big Challenges 6:02
Chương 6 Code Transpiling in the Browser 10 bài · 40 phút
-
Transpiling Options 6:08
-
Remote Transpiling 2:57
-
Module Systems 4:30
-
Updated Install Command and Versions for Webpack
-
Behind the Scenes with Webpack 7:09
-
Webpack with ES Modules 2:40
-
One Small Change 2:41
-
Options for Bundling 6:49
-
So Which Approach? 4:01
-
A Webpack Replacement 2:48
Chương 7 Implementing In-Browser Bundling 16 bài · 1 giờ 3 phút
-
A Demo App 0:36
-
Required React App Boilerplate
-
Project Setup 2:54
-
Basic Form Elements 4:54
-
Understanding ESBuild 6:07
-
Initializing ESBuild 3:40
-
Using Refs for Arbitrary Values 3:10
-
Transpiling Works! 4:42
-
Troubles with Bundling in the Browser 5:56
-
Issues with NPM 4:55
-
Solution with Unpkg 4:32
-
Demo ESBuild Plugin
-
ESBuild Can Bundle! 5:21
-
Deep Dive on Bundling 10:49
-
Filters and Namespaces 3:00
-
Adding a Tiny Test Package 2:30
Chương 8 Dynamic Fetching and Loading of NPM Modules 10 bài · 58 phút
-
Dynamically Fetching Modules 8:23
-
Generating the Unpkg URL 1:59
-
Issues with Multi-File Packages 4:19
-
Solving Relative Paths 6:42
-
Using the URL Constructor 3:57
-
Failing Nested Requires 10:40
-
Resolving Nested Paths 7:49
-
It Works! 5:46
-
Defines During Bundling 5:58
-
Bonus! Package Versioning 2:46
Chương 9 Caching For Big Performance Gains 15 bài · 1 giờ 10 phút
-
Crazy Numbers of Requests 3:10
-
Implementing a Caching Layer 3:55
-
Caching with Key-Value Pairs 6:30
-
Fixing a TypeScript Error 6:04
-
Bundling User Input 4:35
-
Breaking Up Resolve Logic With Filters 6:25
-
Refactoring to Multiple Plugins 5:44
-
Loading CSS Files 1:50
-
Configuring the Correct Loader 4:16
-
Small Shortcoming with ESBuild 2:39
-
Tricking ESBuild's CSS Handling 5:58
-
Escaping CSS Snippets 5:10
-
Separate Load Filters 5:34
-
Extracting Common Caching Logic 4:18
-
A Better Way of Loading WASM 3:25
Chương 10 Safely Handling Untrusted Code Execution 22 bài · 1 giờ 43 phút
-
Executing User Code 6:07
-
Big Issues with Code Execution 6:46
-
How Do Others Solve This? 1:43
-
Displaying IFrames 2:53
-
Different Execution Context 2:49
-
Crossing Context 3:18
-
Sandboxing an IFrame 3:40
-
Breaking Access with Different Domains 4:11
-
How Do IFrames Fix Anything? 3:24
-
The Full Flow - How CodePen and CodeSandbox Work 4:36
-
Do We Need Separation? 4:29
-
Middle Ground Approach 7:20
-
IFrames with SrcDocs 7:49
-
Execution Using SrcDoc 4:25
-
Running Unescaped Code 9:45
-
Indirect Communication Between Frames 5:39
-
Passing Code to the IFrame 7:03
-
It Works! 2:59
-
Highlighting Errors 6:28
-
Issues with Repeat Execution 3:08
-
Resetting the IFrame Contents 3:49
-
Warning Fixup 0:51
Chương 11 Displaying a Code Editor In a React App 17 bài · 1 giờ 20 phút
-
Issues with Eager Bundling 5:58
-
Quick Revert 0:44
-
Boilerplate Reminder
-
Open Source Editor Options 2:42
-
Displaying an Editor 5:54
-
Configuring the Editor 3:50
-
Crazy Monaco Editor Type Defs 8:44
-
A Few More Options 4:20
-
Setting the Initial Value 3:41
-
Handling Editor Change Events 5:50
-
Adding a Type Definition 3:59
-
Adding Prettier to Our Editor 4:02
-
Automatic Code Formatting 5:51
-
Adding a CSS Library 3:18
-
Floating the Format Button 5:23
-
Fixing Syntax Highlighting 16:09
-
CSS For Syntax Highlighting
Chương 12 How to Extract Reusable Components 4 bài · 25 phút
-
Refactoring Out a Preview Component 8:15
-
Extracting Bundling Logic 8:04
-
Fixing a Few Warnings 3:23
-
Multiple Editors and Preview Windows 5:21
Chương 13 Draggable Resizing Components 26 bài · 1 giờ 25 phút
-
Boilerplate Reminder
-
Adding Resizable Panes 3:17
-
Adding children to Interface for React 18
-
Setting Up React-Resizable 5:43
-
Setting a Resize Handle 5:40
-
Resizer CSS
-
Adding a Bunch of CSS 1:37
-
Expanding the Resizer Horizontally 4:27
-
Expanding the Code Editor 4:42
-
Fixing the Resize Issue 5:39
-
Constraining Vertical Resizes 3:31
-
Resizing Horizontally 1:58
-
Strategies for Prop Definitions 4:34
-
Applying Horizontal Resize Props 3:45
-
Getting Preview to Expand 5:23
-
A Small Workaround 1:45
-
Updating the After Selector 1:05
-
An Oddity Around the Resizer 0:46
-
On Resize Events 3:19
-
Updating Resizer Props 4:28
-
Improving Resize Performance 2:14
-
Why Width Jumps? 3:27
-
Synchronizing Width State 7:19
-
Adding Debouncing Logic 4:46
-
Clearing the Timeout 2:28
-
Adding an Execution Timeout 3:17
Chương 14 Techniques for Error Handling in React Apps 6 bài · 18 phút
-
Error Handling 1:30
-
Extracting Reusable Error Handling Logic 3:02
-
Handling Async Errors 4:37
-
Small Update for Try / Catch Block
-
Capturing Bundling Errors 4:02
-
Printing the Captured Error 5:00
Chương 15 Creating a Markdown Editor in a React App 12 bài · 37 phút
-
Plan for the Text Cell 3:44
-
A Few Issues with the Markdown Editor 5:39
-
Toggling the Markdown Editor Mode 5:25
-
Conditional Toggling 5:26
-
Why the Broken Cursor? 2:48
-
Solving Class Name Conflicts 2:48
-
Fixing the Divider Height 1:41
-
Restyling the Resizer Bar 4:48
-
Additional Markdown Styling
-
Applying the Dark Theme 0:50
-
Adding State to the Editor 2:38
-
Last Touch of Styling 1:12
Chương 16 Design Patterns for Redux with Typescript 14 bài · 57 phút
-
Boilerplate Reminder
-
Redux Design 4:54
-
Initial Scaffolding 4:55
-
Action Interface Definitions 7:31
-
Defining What a Cell Is 4:08
-
Cells Reducer Setup 5:48
-
Adding a Few Reducer Cases 2:21
-
Creating and Exporting the Store 3:15
-
React to Redux Connection 1:59
-
Action Creator Return Type Annotations 5:12
-
Easy Action Creator Implementations 5:42
-
Handling Cyclical Imports 3:46
-
Defining Direction 1:13
-
Update Cell Logic 6:16
Chương 17 Simplify State Updates with Immer 6 bài · 39 phút
-
Simple Updates with Immer 7:10
-
Removing a Cell 3:36
-
Swapping Cell Placement 6:33
-
Inserting New Cells 9:45
-
Small Gotcha with Immer 5:49
-
Manual Testing of a Redux Store 6:26
Chương 18 Binding React with Redux 26 bài · 2 giờ 6 phút
-
Back to React 3:49
-
Creating a Typed Selector 3:14
-
Property 'order' does not exist on type 'CellsState | undefined'.
-
Selecting an Ordered List 2:43
-
Rendering the List of Cells 3:43
-
Cell Type Rendering 4:05
-
Reminder on the Action Creator Helper 5:08
-
Extracting Local State 7:43
-
Extracting State from Text Cell 7:06
-
The Action Bar Component 6:50
-
Boilerplate Reminder
-
Adding Icon Buttons 7:02
-
Applying Custom CSS 4:45
-
Last Touch of Styling 6:34
-
Adding New Cells 5:12
-
Displaying Add Cell 4:29
-
Resolving the Key Warning 1:01
-
Styling Add Cell 3:31
-
A Touch More Styling 7:24
-
Forcing Add Cell Visibility 7:15
-
Understanding CSS Transition Curves 5:14
-
Adding Vertical Spacing 3:34
-
Why is Add Cell Weird 4:44
-
Three Possible Solutions 10:58
-
Refactoring the Redux Side 5:43
-
Refactoring the React Side 4:34
Chương 19 Connecting Bundles in Redux 17 bài · 1 giờ 24 phút
-
Should There Be a Bundles Reducer? 9:20
-
Here's the Plan 2:54
-
Defining Bundling Action Types 3:43
-
Initial Reducer Implementation 4:28
-
Small Required Update for bundlesReducer
-
Finishing Up the Reducer 2:47
-
Adding the Action Creator 6:59
-
React Wire Up 8:02
-
Adjusting the Reducer State 4:49
-
Solving a Small Warning with useMemo 7:30
-
Adding Eager Bundling 5:31
-
Getting an Initial Bundle 3:22
-
Showing a Loading Message 3:20
-
Styling the Progress Bar 4:33
-
Can We Estimate Bundle Duration? 3:54
-
Fading In the Progress Bar 7:17
-
Fixing the Background 5:57
Chương 20 Adding a 'Cumulative Code Execution' Feature 15 bài · 55 phút
-
Referencing Code from Previous Cells 4:14
-
Method of Implementation 3:51
-
Calculating Cumulative Code 5:43
-
Executing the Cumulative Code 2:57
-
Adding a Show Function 4:42
-
Showing Complex Values 2:43
-
Showing a JSX Element 4:52
-
Import Name Collisions 2:29
-
Avoiding Naming Collisions 4:31
-
Showing a React Component 2:56
-
Selective Calls to Show 2:45
-
Implementing a Show Function No-Op 3:55
-
Extracting a Hook 4:08
-
A Touch of CSS 1:49
-
Fixing Edge Snaps 3:00
Chương 21 The Path - Lerna 15 bài · 1 giờ 14 phút
-
The Path Moving Forward 3:18
-
Planning Local Architecture 5:15
-
An Easy Solution 4:59
-
What's the App Look Like in the Future? 10:31
-
Package Based Development 8:12
-
Introducing Lerna 5:28
-
Disclaimer on Lerna 1:50
-
Lerna Setup 2:46
-
Adding Modules with Lerna 8:23
-
Linking Packages 6:10
-
Updated npx Command for TypeScript Support
-
Adding TypeScript Support 8:06
-
Adding TypeScript to the CLI 2:17
-
Finishing TS Support 2:17
-
Parallel Start Scripts 4:06
Chương 22 Creating the CLI 6 bài · 38 phút
-
Reading Command Line Arguments 7:42
-
Using Commander to Build a CLI 7:42
-
Specifying Command Line Options 5:56
-
Communication from the CLI to the API 7:49
-
What's that Directory Argument? 2:59
-
Calculating File Paths 5:30
Chương 23 Adding a Local-Only API 21 bài · 1 giờ 16 phút
-
The Local API 3:13
-
Adding Dependencies and Running Express 4:21
-
Error Handling Where? 4:26
-
Wrapping Express Listen with a Promise 4:23
-
TypeScript Errors in Catch Block
-
Error Handling Solution 4:28
-
Accessing the React App 2:47
-
Error occurred while trying to proxy
-
Connecting the Proxy 4:58
-
Building a Production Bundle 2:35
-
Understanding Package Links 12:08
-
What's the Path 6:06
-
Which Method Do We Use? 3:14
-
Determining Our Execution Environment 5:02
-
A Quick Test 1:59
-
Creating the Cells Router 6:05
-
Writing Cells to a File 4:43
-
Resolving Another TS Catch Error
-
Reading File Contents 3:12
-
Default Cell Values 1:26
-
Adding a JSON Parser 0:46
Chương 24 Data Persistence 10 bài · 45 phút
-
Adding Fetch Cell Logic to Redux 6:24
-
Small Update for Try / Catch Blocks
-
The Fetch Cells Action Creator 3:49
-
Handling Fetch Cell Types 4:46
-
Saving a List of Cells 7:46
-
When to Call Fetch? 5:14
-
Saving a List of Cells 2:49
-
Adding a Persist Middleware 6:30
-
Detecting When to Save 5:50
-
Debouncing Save Logic 2:13
Chương 25 Publishing to NPM 18 bài · 1 giờ 1 phút
-
The Path to NPM Publishing 2:25
-
Bootstrapping the Project 3:50
-
A Touch More Setup 2:14
-
Getting Ready to Publish 4:58
-
Configuring the CLI 3:53
-
Publishing to NPM 1:57
-
NPM Organizations 4:42
-
Declaring Scoped Packages 3:02
-
Legacy Peer Deps and Lerna Bootstrap
-
Refactoring Package Names 4:20
-
Auditing Dev Dependencies 6:27
-
Adding Build Scripts 3:54
-
The Case for Bundling 4:02
-
Running ESBuild 5:59
-
Creating a Repository 1:51
-
Publishing with Lerna 1:05
-
Does it Work? 1:48
-
Next Steps 4:44
Chương 26 Appendix: TypeScript 75 bài · 5 giờ 38 phút
-
Quick Note
-
TypeScript Overview 6:19
-
Environment Setup 7:59
-
Important Update About ts-node and Axios
-
A First App 4:43
-
Executing TypeScript Code 5:03
-
One Quick Change 3:35
-
Catching Errors with TypeScript 7:22
-
Catching More Errors! 5:15
-
Course Overview 3:36
-
Types 5:12
-
More on Types 5:53
-
Examples of Types 4:48
-
Where Do We Use Types? 0:49
-
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
-
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
-
Arrays in TypeScript 5:05
-
Why Typed Arrays? 4:30
-
Multiple Types in Arrays 2:57
-
When to Use Typed Arrays 0:54
-
Tuples in TypeScript 4:04
-
Tuples in Action 5:28
-
Why Tuples? 3:20
-
Interfaces 1:26
-
Long Type Annotations 4:42
-
Fixing 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
-
Classes 3:47
-
Basic Inheritance 3:03
-
Class Method Modifiers 6:41
-
Fields in Classes 6:18
-
Fields with Inheritance 4:18
-
Where to Use Classes 1:09
-
App Overview 2:26
-
Updated Parcel Instructions
-
Bundling with Parcel 4:43
-
Project Structure 3:19
-
IMPORTANT Info About Faker Installation
-
Generating Random Data 5:29
-
Type Definition Files 5:17
-
Using Type Definition Files 6:20
-
Export Statements in TypeScript 5:06
-
Defining a Company 4:43
-
Important Note About Google Maps Key
-
Adding Google Maps Support 7:38
-
Required Update for New @types Library
-
Google Maps Integration with TypeScript 4:06
-
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 27 Bonus! 1 bài
-
Bonus!
Requirment
-
Basic knowledge of React and Redux
-
No prior knowledge of Typescript required - an introduction is provided
Outcomes
-
Build a portfolio-ready project with React and Typescript
-
Integrate React and Redux together with Typescript
-
Simplify state updates with the fabulous Immer library
-
See the step-by-step process of designing and assembling an advanced project
-
Manage a project using a package-based architecture
-
Automate your deployment with the popular Lerna CLI
-
Build an in-browser transpiler + bundler
-
Assemble incredibly reusable React components
-
Use Redux middlewares to handle complicated business logic flows
-
Use Web Assembly to increase the performance of your app
0 Student
8 Courses
0 review