Тёмный

Start Using ES Modules Now 

Engineer Man
Подписаться 537 тыс.
Просмотров 27 тыс.
50% 1

The time to convert CommonJS projects to ESM is upon us. This will allow you to use import and export statements, top-level await, and many other features. This will also unify what your Node.js code and your frontend bundled code looks like. All in all a good idea, I promise.
Hope you enjoyed the video!
Check out the code here:
github.com/eng...
Join my Discord server and come say hi:
/ discord
Check out some code on my GitHub:
github.com/rea...
github.com/eng...
Other Social:
/ engineerman
/ _engineerman
www.flaticon.c... Tick icons created by Roundicons - Flaticon
www.flaticon.c... Cross icons created by Roundicons - Flaticon

Опубликовано:

 

8 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 44   
@DJ-rr7cj
@DJ-rr7cj Год назад
Nice! Welcome back EM! Another great explanation of something I’ll most likely need to use in the near future :)
@RobertWildling
@RobertWildling 9 месяцев назад
Glad there is new stuff coming from you! Always straight to the point no BS stuff! Thank you very much! :-)
@umairgillani699
@umairgillani699 Год назад
Wow.. good to see u back EM in similar style!! Love the content. Waiting for the streams to get started as well!!
@sexylol
@sexylol Год назад
Welcome back!!
@RAZR_Channel
@RAZR_Channel 2 месяца назад
excellent: straight to the point… Props…
@semosancus5506
@semosancus5506 Год назад
Thank you so much. I have been trying to figure out this simple thing for a few hours and you had the perfect answer.
@Titokstro1
@Titokstro1 Год назад
Welcome back! And with great content!!
@tkdevlop
@tkdevlop Год назад
yaa face this issue when using node-fetch in a interview I was like wtf why require not working 😂
@EngineerMan
@EngineerMan Год назад
Ha.
@Aetheridon
@Aetheridon Год назад
great to see you back!
@gensys244
@gensys244 Год назад
Much better your back to great content !
@DavidWTube
@DavidWTube Год назад
Where was this video two weeks ago! Ran into these issues using MUI with the Next.js 13.4 "app router". Just getting the appBar to work from MUI with the new Next routing was a bear.
@user-rc2jb4rk2b
@user-rc2jb4rk2b Год назад
Thanks for the useful content Engineer Bro. Missed you.
@MohsenFarajYT
@MohsenFarajYT Год назад
Perfect and short explanation as always... Welcome back :) btw you look great 🔥
@simonmaracine4721
@simonmaracine4721 Год назад
I'm glad you're still here!
@tapu_
@tapu_ Год назад
I keep writing the python syntax by mistake (from x import y) instead of the js syntax(import y from x)
@khaoscero
@khaoscero Год назад
this is useful. its a switch we all have seen coming and avoiding so far
@QuantumCrafts
@QuantumCrafts Год назад
Very useful and easy to follow tutorial! Keep it up
@0x007A
@0x007A Год назад
The most concise video covering this topic.
@farhanprine
@farhanprine 5 месяцев назад
Easy to follow. Cheers
@ZacKoch
@ZacKoch Год назад
PARTY ON! ps - the reason why he's been gone so long is because he's been trying to learn how to operate vscode 😂
@a_maxed_out_handle_of_30_chars
🤣
@EngineerMan
@EngineerMan Год назад
It's true.
@krustserver
@krustserver Год назад
Reminds me when I had to convert my project to ESM when trying to use GOT http library.
@cs-za
@cs-za Год назад
Welcome back!
@alexandervashchuk7795
@alexandervashchuk7795 7 месяцев назад
thanks for clarity!
@DMTheLoopGod
@DMTheLoopGod Год назад
Woowoo!
@ScottzPlaylists
@ScottzPlaylists Год назад
So glad your back.. Are you getting into AI Programming?
@manfrombritain6816
@manfrombritain6816 Год назад
wait a minute... engineer man has epic hair under that hat?
@andrewscott1253
@andrewscott1253 5 месяцев назад
Why did ES Modules ever catch on? Syntactically they are not as consistent and intuitive as common JS and they are much more fiddly to get right.
@Codester145
@Codester145 Год назад
Welcome back. You've been missed.
@johnflynn2109
@johnflynn2109 Год назад
Are ODB-2 car computers easy to manipulate? This is a big shot in the dark to get my mid 90s truck to run right.
@umarchy
@umarchy Год назад
Thanks for the video
@collinskchumba
@collinskchumba Год назад
welcome back engineer
@DemPilafian
@DemPilafian Год назад
*_"It is time to get rid of CommonJS."_* No. It's long past time. This transition period has been 10x more painful than necessary because so many people clung onto CommonJS.
@a_maxed_out_handle_of_30_chars
thank you, good video :)
@Edward3DFX
@Edward3DFX Год назад
hi, I need help re configuring the .bin file for the Firmware for a XYZ PartPro 300xt 3D Printer - so that the machine can use any filament - is there any way to do this with a HEX editor?? or reverse hacking the firmware ? please help-
@NStripleseven
@NStripleseven Год назад
(y’all weren’t doing this already?)
@slendi9623
@slendi9623 Год назад
WB!!!!!!
@XxXK9
@XxXK9 Год назад
Can you make more videos please? How about doing some code reviews?
@Nunya58294
@Nunya58294 Год назад
No
@atlantic_love
@atlantic_love Год назад
Why do you look so tired? Are you feeling okay?
@ScottzPlaylists
@ScottzPlaylists Год назад
Video IDEA: Love to hear your comments on these: Mojo, Modular, MLIR
@thegreatdelusion
@thegreatdelusion Год назад
I used to hate it so I stuck with require. Then only recently I found out there's actually top level await and that's really a gamechanger. I'm using esm in all my new projects now.
Далее
Require vs Import Javascript
22:39
Просмотров 78 тыс.
Node.js is a serious thing now… (2023)
8:18
Просмотров 644 тыс.
Understanding Fork Bombs in 5 Minutes or Less
5:55
Просмотров 170 тыс.
Import vs Require: The Biggest JavaScript Divide
4:03
JavaScript ES6 Modules
7:39
Просмотров 456 тыс.
You're Probably Using Nuxt Wrong
5:16
Просмотров 22 тыс.
The Async Await Episode I Promised
12:04
Просмотров 1,1 млн
The TSConfig Cheat Sheet
5:36
Просмотров 35 тыс.
ES Modules (import / export) for JavaScript Developers
5:20
Engineer Breaks Down Hollywood Programming Scenes
11:02