🧠 1-on-1 Frontend Mentorship (90-min paid session) → https://monsterlessons-academy.com/me...
🎁 Free PDF: Senior Developer Starter Kit (Checklist + 30-Day Plan) → https://monsterlessons-academy.com/ne...
🚀 Go from Middle to Senior Frontend in 12 Weeks → https://monsterlessons-academy.com/co...
In this video you will learn on example the different ways of creating modules in Javascript on real examples. The first thing in Javascript was Immediately invoked function expression (IIFE) then we got CommonJS modules which are mostly used in NodeJS and the modern way is ES6 modules. Each module system has it's own pros and cons and we will compare them all to find out which one is the best
🛠 Need a video editor?
Contact Ekaterina: ekaterina.kochergina.business@gmail.com
📌 Social
Twitter: / monster_lessons
Instagram: / monsterlessonsacademy
Facebook: / monsterlessonsacademy
Linkedin: / monsterlessons-academy
Tiktok: / monsterlessonsacademy
📚 References
Source code - https://github.com/monsterlessonsacad...
🕒 TIMESTAMPS
0:00 Introduction
1:44 Self executed functions
3:53 CommonJS modules
11:32 ES6 modules
18:46 Difference between CommonJS and ES6
21:04 CommonJS in NodeJS
21:44 Outro
This video is NOT sponsored. Some product links are affiliate links which means if you buy something I'll receive a small commission.
On this page of the site you can watch the video online Require vs Import Javascript with a duration of hours minute second in good quality, which was uploaded by the user Monsterlessons Academy 11 March 2021, share the link with friends and acquaintances, this video has already been watched 86,792 times on youtube and it was liked by 3.6 thousand viewers. Enjoy your viewing!