Комментарии:
Well explained.
Ответитьsuch clear tutorial!
ОтветитьThe explanation in this video is amazing, thank you
ОтветитьI created a chrome extension. I want to add an encryption that is gonna work on a web page and I need to use CryptoJS library but whenever I do import CryptoJS, I get an error: Uncaught SyntaxError: Cannot use import statement outside a modul
Ответитьthank you sir
Ответитьvery easy explain bro!!
ОтветитьPerfectly clear, well explained. Thank you :)
Ответитьi was struggling with js modules, as soon as i watched this video i figured out my mistake for not including the .js extention. Thanks to dcode, i now uderstood why its was giving mw errors
ОтветитьBut I could just use another tag <script src=„utils.js“> and I would have access to the functions. And I woudnt even need the import export tags.
Ответитьoof. so good.
Ответитьamazing thank you
ОтветитьVery usefull and cleary explained! Merci !!!
Ответитьmuy buen video, muy claro, me sirvio mucho :)
ОтветитьI experience ,,,,,error: Uncaught SyntaxError: Cannot use import statement outside a module ,,,,,, I have a error in my console even I put type:module inside a script tag
Ответитьhow to use fs with your architecture? I get an error when I do this
because I don't understand why I can't do this, when I also use import ES6 and added with npm the fs package
Nice. Video. Commenting her to tell the universe that I understood your video. Crystal Clear Concept. Thankyou for the upload.
ОтветитьExcellent explainer. Thank you very much.
ОтветитьExcelente ! Muito bem explicado ! ! Parabéns pelos vídeos ! ! !
Ответитьgreat content
ОтветитьBeen trying to get these imports to work for a long time now. Thanks so much!
ОтветитьThank you so much! But out of curiosity can you export <span>class</span>from HTML?
ОтветитьGood Explanation!
I try it but it is not working. I mean the chrome didn't produce any result.
Any other way...?
is there a way around having to put 'export' in front of every statement in a js file? i find this extremely tedious. Can I just export everything in a js file without mucking up the code with duplicate export calls all down the page?
ОтветитьI get a cors error please help🥲
Ответитьwhen I use the same language when console log ,it indict error as ( i is not defined)
why showing i not defined when console.log?
Wow. Exzellent Explanation!
ОтветитьThank you so much; great video! Cheers from Sweden 🇸🇪😊
Ответитьwhen you export an entire class with multiple functions inside (say - class test1) and import from another class(say test2) like this --- import './test1.js'; without using the as keyword - how do you access the functions of test1 from test2 ? thanks!
ОтветитьI have been putting everything in the same JS file for years... never knew this was possible in JS. This changes everything.
ОтветитьThanks so much. I was so confused over import and export for a long time but you really simplified it! Makes total sense
ОтветитьThank you so much🥰🥰🥰🥰🥰🥰
ОтветитьThanks , what vs code theme you are using in this video ?
Ответить@dcode please provide source code
ОтветитьWhen I export variables between two javascript files, other functions in the first javascript file become defunct. Any help on how to solve this is appreciated !
Ответитьvery well explained...
ОтветитьHi I did not quite get the use case of the aggregating feature. In what scenarios would people be using it? And why would people prefer all the modules be exported from a single module....(it actually increases the length of code in case one has got hundred modules....code exporting the modules cannot be skipped...so also code for importing the modules also cannot be avoided....the code for bridging is extra code that one may have to write...although this makes the code structure relatively more systematic...can u please let me know in which scenarios it is used.
ОтветитьNO ONE ON STACKEXCHANGE COULD EXPLAIN THIS. Thank you!
Ответитьvery tanks for this video
ОтветитьThanks a lot!
ОтветитьThank you so much for taking the time.
ОтветитьThank you so much. Now I can write my code in much more peace.
ОтветитьIt doesn't work, If you try to run it locally via file://, you would need a local web server e.g. Live Server extension in VS Code.
ОтветитьYES! Thank you!
Ответитьyou explain everything very clearly but when i use same files i got CORS error.
Ответить