Everything I know about Modules in TypeScript

preview_player
Показать описание
A deep dive into Modules in TypeScript/JavaScript. Watch this video to learn everything you need to know about how to break apart your apps into modules, to enable code reuse and better organization. We will start from simple import/export statements, to installing packages, all the way up to more advanced concepts such as dynamic imports, immutability, and path resolution. And since this is a TypeScript course, we will also talk about exporting our types!

👩‍💻🧑🏿‍💻 Practice what you've learned: An extra exercise is waiting for you after enrolling to my TypeScript course:

Contents
00:00 Intro
02:15 Named exports
08:41 Default export
13:25 Import statements for Pros
19:32 Something to avoid
22:49 Installing and using packages
26:12 Dynamic imports
28:53 Immutability
32:26 Path resolution and index files
39:23 Reviewing CommonJS
43:45 Outro

Links
- My new ✨ TypeScript course:
- The playlist with all the videos in the series:
Read the article with the coding examples:

This video belongs to my series Too Long To Read TypeScript. Every episode covers in detail a core concept of the language.

❤️ How to support this channel?
- Like this video
- Subscribe to the channel
- Share this video with your friends on social media (only if it helped you)
- Check out my course
Рекомендации по теме
Комментарии
Автор

Great explaination - now I know a little.Thank you Nicos

lailasatriasuhaimi
Автор

Awesome video - coming to TS from another language I found the whole import/export module confusing, this video helped a lot.

shashydass