No video

Require vs Import Javascript

  Рет қаралды 78,284

Monsterlessons Academy

Monsterlessons Academy

Күн бұрын

Пікірлер: 327
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Learn 5 must know Javascript interview questions - kzbin.info/www/bejne/Y2nUl6qIYqaBes0
@souryavarenya
@souryavarenya 3 жыл бұрын
Ah man, one of the best videos explaining this. My understanding of distinguishing between frontend and backend JS cleared up after watching this.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 жыл бұрын
Glad you liked it!
@kithowlett8374
@kithowlett8374 2 жыл бұрын
This is actually one of the best JS module explanation videos on KZbin - thank you!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Glad you think so!
@CarlosChavez-ij5ki
@CarlosChavez-ij5ki Жыл бұрын
I agree
@rameshwarprasad4722
@rameshwarprasad4722 3 жыл бұрын
This was such an amazing explanation man. You've literally covered every aspect of modules and that too in complete depth. Thank you soo much. Keep making more JavaScript videos.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 жыл бұрын
Glad it was helpful!
@wentinz
@wentinz 2 жыл бұрын
your video is so helpful! I love that you dive into the reason to invent modules before getting into how to use it, because for beginners, that is the hardest part to understand - why do we need to complicate things this way? Your explanation made perfect sense and I can see when we need to use it and when not!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Glad it was helpful!
@ohmyumbrella
@ohmyumbrella 11 ай бұрын
this should be pinned on top of the result list for any "beginner javascript tutorial" search. I have been working with JS without knowing this simple thing and had faced so many problems but never had that wise idea to actually search the difference between commonJS and ESM. Now I am humbled and unstuck. Thank you.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 11 ай бұрын
Glad it helped!
@user-ic4ce8xb5v
@user-ic4ce8xb5v 2 жыл бұрын
Super helpful! I spent so much time watching different tutorials, but you explained this the best!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Glad it was helpful!
@jesseneon1896
@jesseneon1896 2 жыл бұрын
I love the way you teach and code at the same time. Amazing video, I look forward to watching more of your videos.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Happy to hear that!
@volkan8583
@volkan8583 Жыл бұрын
Ty for good explanation. Its been 7 months of my journey and tutorials only say "do this" instead of why they do that in that way. You make clear some of the logic that Ive been misunderstood.
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
You are welcome!
@kmSaifullah
@kmSaifullah 8 ай бұрын
You have just explained this topic in a very elegant way. Thanks for sharing this and spread your knowledge on the internet.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 8 ай бұрын
Glad it was helpful!
@flecko5
@flecko5 4 ай бұрын
Thanks for explaining the history behind this topic!!!!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 4 ай бұрын
Glad you like it!
@gseven7307
@gseven7307 2 жыл бұрын
Too few likes for an amazing video like this. Very systematic, very clear and concise. Thank you very much
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Glad it was helpful!
@mitrasu5918
@mitrasu5918 Жыл бұрын
Man you are the real MVP my guy, helping out plebs from the past. Thank you so much.
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Great to hear that!
@GiuseppeGreco-jl7dx
@GiuseppeGreco-jl7dx Жыл бұрын
Clear and easy to follow, thanks. One step closer to understanding it all ✨
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad it was helpful!
@shwetamane8774
@shwetamane8774 7 ай бұрын
Explaining the 'why' made it extremely easy to understand! 👏 Thank you very much.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 7 ай бұрын
You're very welcome!
@Svalin04
@Svalin04 Жыл бұрын
Your explanation is really good. Thanks for this video.
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad it was helpful!
@panthonyy
@panthonyy 2 жыл бұрын
Wow, best commonjs modules and ES6 modules course on YT, that cleared a lot of things in my mind. Thanks a lot. You just got a new sub!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Glad it was helpful!
@fatihaelbouchaoui
@fatihaelbouchaoui Жыл бұрын
The best explanation abt this topic. Thanks.
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad it was helpful!
@martindufour5727
@martindufour5727 11 ай бұрын
I very rarely comment or participate on the Internet, as I'm usually just a passive listener and content reader. However, I felt compelled to break from my habits to thank you. Your explanation is splendid and incredibly well-done
@MonsterlessonsAcademy
@MonsterlessonsAcademy 11 ай бұрын
Wonderful!
@expertreviews1112
@expertreviews1112 Жыл бұрын
THE best video on the topic... so much confusion with the evolution and this brings everything together !!!! awesome !! kudos
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad you liked it!
@musaffirlp5710
@musaffirlp5710 Ай бұрын
Well explained and I understood it clearly. Kudos !
@MonsterlessonsAcademy
@MonsterlessonsAcademy Ай бұрын
Thanks!
@Sashad2003
@Sashad2003 2 жыл бұрын
You are one of the best teachers I know. Thank you very much for a lesson 😎👍
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Thank you! 😃
@ajithingmire7782
@ajithingmire7782 Жыл бұрын
Wow, everyone keeps saying es6 modules are better but rarely anyone tells why. Very precisely explained. I started exploring this topic after getting optimisation bailouts warnings in Angular for certain commonjs modules, I think now I know why commonjs modules are not tree shakable
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad you like it!
@ashishbisht9162
@ashishbisht9162 2 жыл бұрын
This is the best simplified explaination i ever head .. so neat and clear......Thankx dude....Bless you...
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Glad it helped!
@B-Billy
@B-Billy 2 жыл бұрын
I am Java developer learning JS. I was having a hard time understanding JS import.. Watched many videos but this is where it all make sence!! Kudos, thank you so much! Suubscribed.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Glad it helped!
@conceptroot
@conceptroot Жыл бұрын
Качественный материал. Теперь все понятно. Спасибо
@sigvist6228
@sigvist6228 Жыл бұрын
You are the best. I was confronting with the issue related to these require() import a lot of time. Hopefully, your video helped me to understand how to solve my issue. Thanks!
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
You're welcome!
@MarcoTulioRibeiro
@MarcoTulioRibeiro Жыл бұрын
I'm looking for this explanation a long time. Excellent presentation, congrats!
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad it was helpful!
@dylanmarais7304
@dylanmarais7304 Жыл бұрын
Could you maybe do a video about your setup that allows you to so easily traverse through your files? Great content btw!
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Thank you! It is already there: kzbin.info/www/bejne/j6Ovmqidec12q80
@Michael-sh1fb
@Michael-sh1fb 3 жыл бұрын
Thanks a lot. I've been putting off learning this because it's not a very interesting topic but you summed it up really well.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 жыл бұрын
Glad you enjoyed it!
@bhavyabansal1143
@bhavyabansal1143 2 жыл бұрын
One of the best videos I have seen so far... Thanks a lot for this.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Glad you liked it!
@AsheAve
@AsheAve Жыл бұрын
Nice article. I learned a ton and watched it like ten times over two days! I have the timeline of modules, now.
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad it was helpful!
@CarlosChavez-ij5ki
@CarlosChavez-ij5ki Жыл бұрын
Damn, thanks man. I had a whole in my brain related to this topic. Now it is filled with a very good explanation.
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad it helped!
@shubhamshinde3720
@shubhamshinde3720 Жыл бұрын
your explanation is too good man i was writting Es6 module in Vuejs and Commonjs Modules in nodejs but didn't know there was difference in them until now those Udemy course don't teach this things even beeing most views and rated
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Awesome!
@kineticBoss
@kineticBoss Жыл бұрын
I was struggling with a code base that had "require" and exports. Whereas another codebase had import, it was super confusing. But thank you for clearing it up. Great video, good explanation. Also, you speak English very calmly, it helps me to understand better as I am a non-native English speaker.
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad to hear that!
@aminebelbahar1086
@aminebelbahar1086 Жыл бұрын
Great content! all I wanted to know about node modules and es6 modules
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Thank you!
@robertobenedit
@robertobenedit 2 жыл бұрын
Espectacular! increible lo claro que sos! Me diste un mejor punto de vista!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Thank you!
@luizmeirelles913
@luizmeirelles913 Жыл бұрын
Amazing explanation.
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad it was helpful!
@Kjeii
@Kjeii 10 ай бұрын
Really clear explanation! Thanks so much!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 10 ай бұрын
Glad it was helpful!
@Kjeii
@Kjeii 10 ай бұрын
@@MonsterlessonsAcademy I'm trying to store api key in self-made module and provides key using export/import; that works! However, it still reveals api key using browser devtool; is there any method to hide sensitive information in front-end code?
@amventures1
@amventures1 2 жыл бұрын
OMG! you cleared the confusion I had.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
I'm happy to hear that!
@anselmleo4146
@anselmleo4146 3 жыл бұрын
Thanks so much for the in-depth explanation. Got here looking for how to refactor my common js code to typescript es6.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 жыл бұрын
You are welcome!
@Pareshbpatel
@Pareshbpatel 2 жыл бұрын
A very clear tutorial on CommonJS and JS Modules. Thank you. {2022-03-08}, {2023-12-14} PS Subscribed!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Awesome, thank you!
@IsaacLarbiOnline
@IsaacLarbiOnline 2 жыл бұрын
Thank you for such a clear and concise explanation.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
You're very welcome!
@aliozeir708
@aliozeir708 Жыл бұрын
very smooth and helpful. Thanks!
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad it was helpful!
@aakashjadhav327
@aakashjadhav327 2 жыл бұрын
nice video, very well explained, best video on this topic on the internet.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Wow, thanks!
@kostiantynkarzhanov9216
@kostiantynkarzhanov9216 Жыл бұрын
Thank you so much! Very good explanation of the topic! 💛
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad it was helpful!
@Technochoice-do1bl
@Technochoice-do1bl 6 ай бұрын
Thanks you made my day and save lots of mine time
@MonsterlessonsAcademy
@MonsterlessonsAcademy 6 ай бұрын
Glad to hear that!
@FerchoNossa
@FerchoNossa Жыл бұрын
Great. Thanks for this monstrous explanation
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
My pleasure!
@Untitled0078
@Untitled0078 2 жыл бұрын
I love the way he speaks.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Thanks!
@nvn1413
@nvn1413 9 ай бұрын
Exactly what I was loking for; thanks. Subscribed gladly...
@MonsterlessonsAcademy
@MonsterlessonsAcademy 9 ай бұрын
Thanks for the sub!
@farahrayis5928
@farahrayis5928 2 жыл бұрын
Clear explanation. Thank you very much. You saved me a lot of time.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Glad it helped!
@kriskata7653
@kriskata7653 Жыл бұрын
Amazing explanation of the topic. I understood everything. Also I would like to mention that if you are using the Live Server extension you don't need to install serve from the npm. Thank you for the tutorial :)
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
You are welcome!
@0x007A
@0x007A Жыл бұрын
The text editor is either vim or one of its derivative clones such as neovim. Not everyone uses Microsoft Visual Studio Code.
@saimdhefaizandhe872
@saimdhefaizandhe872 Жыл бұрын
perfect name for channel
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Thank
@user-ty5pd4xw2y
@user-ty5pd4xw2y 2 жыл бұрын
Great vid, really all you need in modules! thx
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
You're welcome!
@rsym.4397
@rsym.4397 2 жыл бұрын
the best explanation ever!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Thank you!
@hieuphanlong51
@hieuphanlong51 3 жыл бұрын
OMG, this is so easy to understand. Thank you very much.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 жыл бұрын
Glad it was helpful!
@sudosanam
@sudosanam Жыл бұрын
Perfectly explained, thanks for the great content!!
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad it was helpful!
@hugobritotech
@hugobritotech 3 жыл бұрын
this is a true monster lesson, i learned several things, thanks for the content
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 жыл бұрын
Glad to hear it! Mmmmonster content :)
@mrs8683
@mrs8683 Жыл бұрын
just discovered your chanel and i am amazed how you explain thing, it is awesome, and i wonder what is the font you are using ? it is really dope
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Thank you! It's monaco font.
@maxvhanamane840
@maxvhanamane840 2 жыл бұрын
It was a very thorough explanation, and it was really easy to understand ❤.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Glad it was helpful!
@supastar25
@supastar25 Жыл бұрын
Perfect explanation, thanks a lot
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad to hear that!
@mithunsurve
@mithunsurve 2 жыл бұрын
Best video on modules !!!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Glad you think so!
@exxzxxe
@exxzxxe 2 жыл бұрын
A first class presentation- well done!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Glad you liked it!
@designniewolinsky7752
@designniewolinsky7752 3 жыл бұрын
Best video on that topic!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 жыл бұрын
I'm happy that you like it!
@lukasluftlaufer1093
@lukasluftlaufer1093 2 жыл бұрын
So clear and concise! Thanks a Lot!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
I'm happy that you like it!
@NaveenSingh_09
@NaveenSingh_09 20 сағат бұрын
Just one IMPORTANT thing: 20:12 Import statements are not hoisted, so you have to declare it at the top. (I went through several blogs and articles, may be I understood it wrong...in that case please correct me.)
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 сағат бұрын
Import declarations are hoisted. In this case, that means that the identifiers the imports introduce are available in the entire module scope, and their side effects are produced before the rest of the module's code runs. developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
@NaveenSingh_09
@NaveenSingh_09 3 сағат бұрын
@@MonsterlessonsAcademy Thanks for the reference...
@NaveenSingh_09
@NaveenSingh_09 2 сағат бұрын
​​@@MonsterlessonsAcademy Actually you are wrong about it, just try and run what you said it will not work as you explained in the video. . ES6 imports are hoisted to the top of the file, but they're in temporal zone until the actual import statement is evaluated...meaning You CAN NOT use the imported function or variable before the import statement itself. So basically the imports are hoisted but not like variable declarations.
@952a259
@952a259 Жыл бұрын
Thank you for explanation!
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad it was helpful!
@RishabhJain-uv7zj
@RishabhJain-uv7zj 2 жыл бұрын
This explanation was great. Can you make a video about the code editor you were using and some common shortcut you use it seemed pretty efficient while viewing this video.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Hi, I already have a video about code editor kzbin.info/www/bejne/j6Ovmqidec12q80 90% of my shortcuts are standard vim shortcuts. They are not customised. dd - delete the line caw - replace the word ci( - replace in brackets dit - delete in tags etc, etc
@yiannis_p
@yiannis_p 11 ай бұрын
Amazing video, thank you so much!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 11 ай бұрын
Glad it helped!
@odebroqueville
@odebroqueville Жыл бұрын
Very clear explanation which covers a bit more than just the basics. Thank you. Did I understand correctly that ES6 modules can be used in NodeJS? Also wondering: what's the best way to use node modules in web extensions?
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
In the latest versions of node both commonjs and es6 is supported but you must provide correct configuration to tell what module system you want nodejs.org/api/esm.html#modules-ecmascript-modules Regarding web extensions I have no idea
@scottisitt
@scottisitt 2 жыл бұрын
Very helpful! Thank you for explaining this!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Glad it was helpful!
@Jeireme
@Jeireme 3 жыл бұрын
Thank you very much, everything is clear and very well explained!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 жыл бұрын
You are welcome!
@gurinderkaur6377
@gurinderkaur6377 3 жыл бұрын
Thank you so much for explaining in detail.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 жыл бұрын
Glad it was helpful!
@fernandogabriel8452
@fernandogabriel8452 2 жыл бұрын
Amazing content! You can really explain your stuff
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Glad you think so!
@NN-si6cl
@NN-si6cl 2 жыл бұрын
Very helpful, thanks for the great breakdown!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Very welcome!
@ltmutiwekuziwa
@ltmutiwekuziwa 2 жыл бұрын
So so clear. Thanks
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Glad you think so!
@devviz
@devviz 9 ай бұрын
so we just went a whole circle from *import from* to *const require* back to *import from* because we realized the original method is still the best one ?! now that's mindblowing
@MonsterlessonsAcademy
@MonsterlessonsAcademy 9 ай бұрын
No we don't. require was introduced in NodeJS from the start. imports were introduced much later in Ecmascript 6.
@r.a.collection
@r.a.collection Жыл бұрын
Good discriptions well done 👍
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Thanks 👍
@m12652
@m12652 2 жыл бұрын
Brilliant! Thank you
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
You're very welcome!
@thebmusproject
@thebmusproject 3 жыл бұрын
Thanks for this great explanation!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 жыл бұрын
Glad it was helpful!
@ercanyanmaz5624
@ercanyanmaz5624 2 жыл бұрын
Thanks for your great effort🙂
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
You are welcome!
@SanjeetKumar-xd3ne
@SanjeetKumar-xd3ne 3 жыл бұрын
This is awesome. Can you make a video on how modern web frameworks loads up works in the production version on browser, with all required packages and files, and how those files interact with other, that's a big challenge for me to understand.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 жыл бұрын
Thanks, will add it to the ideas list of future videos
@SanjeetKumar-xd3ne
@SanjeetKumar-xd3ne 3 жыл бұрын
@@MonsterlessonsAcademy🎊❤️🎉
@n3d278
@n3d278 2 жыл бұрын
Just simply awesome.. 👏
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Thank you so much 😀
@neoruss3553
@neoruss3553 Жыл бұрын
I skimmed through the video searching for one specific difference that i didn't see you mentioning. I think that CommonJs modules give you copy of exported value while ES modules give reference to a value in scope of module. This makes closures with modules and cross module events possible.
@TheLucidWay
@TheLucidWay 2 жыл бұрын
Holy cow, this was a superb explanation! Just one question, though. If I were to build a full stack application, would I need to use common.js for the backend and use es modules for the front end, or would you choose one type of module system for both ends? Thank you!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Normally you want to use imports with webpack/babel on client and require on backend. However you might use imports on backend if you want with webpack/babel also but I don't like to do that.
@TheLucidWay
@TheLucidWay 2 жыл бұрын
@@MonsterlessonsAcademy okay, I see. Thank you for replying and thanks again for this video. It was really helpful.
@balajeemishra
@balajeemishra 2 жыл бұрын
Really,I have learned alot ❤️
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
You are welcome!
@user-nh8ge6hx9r
@user-nh8ge6hx9r Жыл бұрын
thx for the clear explanation ;)
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
You are welcome!
@sudhakarprakash4276
@sudhakarprakash4276 Жыл бұрын
great explanation
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad you think so!
@nicknameis
@nicknameis Жыл бұрын
Amazing!
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Thank you! Cheers!
@nicknameis
@nicknameis Жыл бұрын
@@MonsterlessonsAcademy Возьмите меня в школу. Я бы за 3 месяца весь фул стек бы освоила, если бы у меня был бы такой учитель. Столько бестолковых учителей, которые сами знают лишь поверхностно. А хочется знать детали и что куда и откуда. Спасибо за отличные уроки.
@paxdriver
@paxdriver Жыл бұрын
Cors errors drove me insane trying to learn react while learning new things outside of the framework
@EdsonSilva-qr5gr
@EdsonSilva-qr5gr 2 жыл бұрын
Awesome content, keep going
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Thanks, will do!
@ripudamank
@ripudamank 3 жыл бұрын
Thanks! Very informative.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 жыл бұрын
You are welcome!
@glurp1er
@glurp1er Жыл бұрын
Very good explanation, thanks! However, I'm used to OOP and I don't really get why I should switch to modules instead of keeping using classes.
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
modules don't stop you to use classes. export default FooClass import FooClass from 'foo.class' you are done
@glurp1er
@glurp1er Жыл бұрын
@@MonsterlessonsAcademy Thanks for your quick response! I already use classes to organize my code in different files (sometimes static or singleton), so why should I use modules on top? I feel like I'm missing something... Maybe modules are a way to restrict the usage of a class to a specific file?
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
@@glurp1er All your classes are global. Without modules you have name collisions, possibility to override class, etc.
@glurp1er
@glurp1er Жыл бұрын
@@MonsterlessonsAcademy Thanks again! Indeed I see now how modules could prevend classes names from colliding.
@Ishirosama
@Ishirosama 2 жыл бұрын
Great content !
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Thank you!
@murilo.g.t
@murilo.g.t Жыл бұрын
Nice video!! Thaanks!
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
You are welcome!
@DevlogBill
@DevlogBill 2 жыл бұрын
Thank you for this quick lesson it was very helpful. I am fairly new to coding and the other day I looked at a piece of code and it seemed the page was filled with functions, am I correct to assume that most of a program is created using functions? I am only 2 months in learning JavaScript, so I am fairly new at this stuff.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
Hi, it's either functions which we exporting or classes which we exporting. We don't have anything else.
@rohitbahuguna3481
@rohitbahuguna3481 Жыл бұрын
nice video dude i loved it
@MonsterlessonsAcademy
@MonsterlessonsAcademy Жыл бұрын
Glad you enjoyed
@danialranjbar9805
@danialranjbar9805 2 жыл бұрын
Thank u for ur inforamtive nice video. It was good. Only it would be really better if u could give us a little smile and energy while tutoring, that would be perfect👍
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
I will try my best!
@prasanth-pk12
@prasanth-pk12 2 жыл бұрын
thank you so much man...
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 жыл бұрын
You're welcome!
@nelsoncaicedo6761
@nelsoncaicedo6761 3 жыл бұрын
Thanks man!! this is awesome
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 жыл бұрын
Glad you like it!
Import vs Require: The Biggest JavaScript Divide
4:03
Matt Pocock
Рет қаралды 53 М.
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 41 МЛН
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 3,7 МЛН
Oh No! My Doll Fell In The Dirt🤧💩
00:17
ToolTastic
Рет қаралды 10 МЛН
白天使选错惹黑天使生气。#天使 #小丑女
00:31
天使夫妇
Рет қаралды 15 МЛН
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 642 М.
Node require Vs import
6:51
WittCode
Рет қаралды 1 М.
5 JavaScript Concepts You HAVE TO KNOW
9:38
James Q Quick
Рет қаралды 1,4 МЛН
Javascript Promises vs Async Await EXPLAINED (in 5 minutes)
5:50
Roberts Dev Talk
Рет қаралды 579 М.
The 7 Levels of JavaScript Modules
13:05
Bran van der Meer
Рет қаралды 3,5 М.
Explains Module Bundlers in 3 Levels of Difficulty
18:35
lihautan
Рет қаралды 12 М.
Generics: The most intimidating TypeScript feature
18:19
Matt Pocock
Рет қаралды 172 М.
If You Cannot Name All 5 JS Scopes You Need To Watch This Video
15:06
Web Dev Simplified
Рет қаралды 56 М.
How to Export and Require Modules in NodeJS
12:36
Steve Griffith - Prof3ssorSt3v3
Рет қаралды 55 М.
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 41 МЛН