Modules - Javascript In Depth

preview_player
Показать описание
We take a look at how ES Modules work in Javascript together. This is a relatively new feature in the language that allows us to share code easily between files by exporting and importing them. We take a look at named and default exports and their import counterparts. We also look at import * as well as how top-level await works inside modules.

Chapters:
00:00 Introduction
01:12 Why Modules?
03:54 Named Exports
08:56 Named Exports Code Example
17:49 Renaming Named Exports
19:09 Renaming Named Imports
20:31 Default Exports
22:03 Default Exports Code Example
24:39 Renaming Default Exports
25:28 Some Export Conventions
27:58 Module "Living" State
30:50 Import * Keyword
32:40 Import * Code Example
36:28 Top-level Await Inside Modules
39:32 Top-level Await Code Example
44:14 Next Steps

Рекомендации по теме
Комментарии
Автор

Cannot show my gratitude enough about js playlist, it's about that moment when a random guy on YouTube teach you within hours 2 years of computer science in college 😅❤

Talel_kraiem
Автор

Thank you, sir !! Im a freshman from philippines self studying js and this really helped me a lot ❤

PLanz-de
Автор

Amazing Way to teach. I already watch many tutorials but your's one of the best.

SheharyarAli-fi
Автор

Thank you!. Very nice quick in depth tutorial. ❤❤

Polca
Автор

@Tech with Nader Very useful video and the only one with so many details

Rinseaz
Автор

That was really good. Would primitives be passed as value rather than as reference between modules ?

russelldriver
Автор

I am grateful for all your efforst as well! Thank you for making this awesome series, I almost went trough half of it and it helped me in the course I follow! Please never stop making content :)) I also enjoy so much your videos for the subtle fun you inject in them, for example the monkey hobby: stealing, I just started laughing and got more focus power because of it :)) Awesome teaching style!

OXIDE-isgs