Тёмный

Understanding the Complexity of Modern Web Dev Stack (Webpack, Babel, TypeScript, React) 

Lachlan Miller
Подписаться 9 тыс.
Просмотров 28 тыс.
50% 1

A look back on ye old days, where we came from, and how we ended up in this mess. Few mistakes, can you really blame me? 😇 TIMESTAMPS:
1:00 In the beginning
3:00 JS all the things
5:28 Babel
9:00 Introducing Webpack
14:20 Babel with Webpack
16:00 React (no JSX)
19:00 JSX all the things
21:50 TypeScript and TSX
24:17 Bundle all the things... CSS imports
🐦 Twitter: / lachlan19900
👉 Complete Vue.js 3 30% OFF!! www.udemy.com/course/complete...
💯 My course "Typing the Test Suite" www.udemy.com/course/typing-t...

Наука

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

 

7 апр 2021

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 145   
@lotharmohlala851
@lotharmohlala851 2 года назад
This is absolutely brilliant. Attaching a storyline to this was genius. This is how everyone learns; through context and use cases. Keep to this style of tutorials and this channel will sky rocket. Well done 💯
@LachlanMiller
@LachlanMiller 2 года назад
Thanks Lothar!
@_SoundByte_
@_SoundByte_ 7 месяцев назад
History in tech is important. Someone needs to do a video of the history of the internet (from a network point of view)
@vitaliyd23
@vitaliyd23 6 дней назад
What a gem! Love that you included the error solving parts and the "single take" nature of the video. Liked, subscribed, and added to a playlist)
@marianrys316
@marianrys316 3 года назад
Great stuff! Thank you ! In less than 30 min you fast-forwarded me from the 90's to modern era :)
@LachlanMiller
@LachlanMiller 3 года назад
Thanks ⚡️
@brentleemans
@brentleemans 6 месяцев назад
Amazing video! With every part you explained WHY something was needed. This is missing in most of explanation videos on the internet. Thank you!
@Speglritz
@Speglritz 2 года назад
We transpile typescript to javascript then transpile javascript to older versions of javasript for wider browser support and then the browers JIT compile the javascript it loads to run the actual code. Even without webpack, different loaders, webassembly and the other stuff going on it's complex enough.
@johnphillips8600
@johnphillips8600 2 года назад
This is the best explanation I've come across... Most videos are too long and too minified. Thank you for this ❤️
@LachlanMiller
@LachlanMiller 2 года назад
Glad you found it useful!
@pkproductions1623
@pkproductions1623 Год назад
This video is awesome. In just 25 minutes you explained the whole modern javascript paradox. How a simple button click in JavaScript is evolved to be so complex. Thanks a lot it made me understand concepts that are very confusing.
@paperC_CSGO
@paperC_CSGO 4 месяца назад
The video I have been looking for as a junior developer - to actually try and understand the bigger picture and fundementals. Please make more of these type of videos! You are hitting a much neglected part of the web development RU-vid tutorial/course/explainer videos market!
@LachlanMiller
@LachlanMiller 4 месяца назад
Thank you! I'l do my best, glad it helped you, good luck!!
@user-zw7go3we9f
@user-zw7go3we9f 6 месяцев назад
This video is really helpful to me. When I dive into Huge numbers of libraries from single page with HTML CSS JS. it really drive me crazy. But thank your sharing. I understand a lot and get a clearness feel.
@narayan1509
@narayan1509 2 года назад
One of the best video I come across while searching for basics
@Usmankhaled
@Usmankhaled 3 месяца назад
Absolutely brilliant. Seems like you witnessed everything as if you yourself was a kernel routing and directing every piece to work together just like that :)
@deveshprasad6418
@deveshprasad6418 23 дня назад
This is amazing. You're a genius. You made it so easy to understand.
@uchihai_a_h4871
@uchihai_a_h4871 6 месяцев назад
now finally all the dots got connected... brilliant mate !
@jfsimard2
@jfsimard2 9 месяцев назад
Rare you can have a history Today. Big picture is always forgotten making if difficult to get clarity. Thank you for taking the time to do it.
9 месяцев назад
I'm honestly impressed with how good this was to give and idea about how we ended up using all of these tools in the modern web development. Thanks for your effort!
@reralt
@reralt 4 месяца назад
This was so good. All the confusion regarding modern web cleared in one video ! Thanks a lot.
@LachlanMiller
@LachlanMiller 4 месяца назад
thanks glad you liked it!!
@johnas3
@johnas3 Год назад
Bro you are now my new history teacher. Great work and thanks for the explanation🔥
@XpressBits
@XpressBits 3 месяца назад
Best tutorial watched in the recent days.. Precise and no BS... you got a great teaching skills, mate! Please keep doing the videos..
@LachlanMiller
@LachlanMiller 3 месяца назад
thanks!!
@siddharthnayak4448
@siddharthnayak4448 Год назад
Excellent video explaining the history and transition to modern js libraries.Superb!!!!!!
@michaelhashimoto1650
@michaelhashimoto1650 9 месяцев назад
This is amazing.. front end is so crazy…. Thanks for bridging the gap!
@LachlanMiller
@LachlanMiller 9 месяцев назад
Give m a like/sub, announcement soon but I'm going to be making a course/book going way deeper on frontend tooling!
@abuzarbaig3116
@abuzarbaig3116 10 месяцев назад
Great & short Video that explains what's going behind the scenes with modern web dev, Thanks 😊
@aashisrimal7379
@aashisrimal7379 3 года назад
Great video on how modern web development has evolved.
@LachlanMiller
@LachlanMiller 3 года назад
Thanks :D
@shinobi1975
@shinobi1975 Месяц назад
Finally someone that explains the problem that is being solved by these stupid installs lol. 10/10 vid.
@andriopratama6587
@andriopratama6587 2 года назад
Awesome! Thank you for the explanation and case study
@fogguy3838
@fogguy3838 3 месяца назад
exactly what I was looking for, Thanks, great job
@LachlanMiller
@LachlanMiller 2 месяца назад
Glad it helped!
@universalkittii
@universalkittii 2 года назад
This was very helpful thank you for making this!
@davevids95
@davevids95 2 года назад
This is the explanation I've been looking for!! Subscribed!
@LachlanMiller
@LachlanMiller 2 года назад
Thanks! I'll try to make more videos about tooling in the future.
@rioredwards
@rioredwards 21 день назад
This was awesome! Thank you for making this!
@apereiracv
@apereiracv Год назад
Amazing explanation, love the approach and evolution of the code, great stuff
@chubbycat9212
@chubbycat9212 2 года назад
This is the best explanation I've come across
@LachlanMiller
@LachlanMiller Год назад
Glad you found it useful!
@zalabhaskar9795
@zalabhaskar9795 3 месяца назад
You have nicely explained in simple way with good example. Thank you.😊
@MoizAli-eh9gv
@MoizAli-eh9gv 6 месяцев назад
a beginner learning this. Honestly great video
@LachlanMiller
@LachlanMiller 6 месяцев назад
Thanks!
@mmkvhornet7522
@mmkvhornet7522 9 месяцев назад
I like your methodology , it's a very great and enjoyable learning experience !
@rajeev2127
@rajeev2127 10 месяцев назад
You nailed it!!! Finally I understood, Thank you so much from the heart, you're awesome
@almuhanadal-nihmy7452
@almuhanadal-nihmy7452 Год назад
Great explanation. Thanks I hope you do more videos about tooling. It's really helpful
@okamianimes8190
@okamianimes8190 6 месяцев назад
this is just beautiful, i had a lot of troubles understanding what webpack, babel were, and where are they exactly used, but this video just puts everything together in a brilliant way, thank you for the video
@LachlanMiller
@LachlanMiller 6 месяцев назад
No problem, glad you found it useful!
@user-tt6nc6mo7k
@user-tt6nc6mo7k 3 года назад
This really confused me too when I started learning web development. Now I have a great resource to refer to other people thanks! On another note, I see you have a few videos on testing using Jest, Cypress, etc. I personally am quite new to testing I understand there are different types of tests like unit testing, integration testing and end to end tests. I know what each of them are but I do not understand how they all come together in one project? Would be great if you could do a similar overview type video on how all these are implemented in a production application.
@LachlanMiller
@LachlanMiller 3 года назад
Yeah this stuff is confusing - there is way more tools in the average project too, but this is the general idea. Sure, I will definitely do more content around all the different types of testing... great suggestion. One of my favorite topics.
@isaacmoses3377
@isaacmoses3377 8 месяцев назад
Pure awesomeness 😍
@udonjijiwaiwai935
@udonjijiwaiwai935 2 года назад
This is great and very helpful! Thank you!
@opsJson_
@opsJson_ Год назад
Congratulations from Brazil. content like this is very rare, i'm subscribing.
@LachlanMiller
@LachlanMiller Год назад
Thanks for the support!
@needtubes121
@needtubes121 Год назад
thanks for explaining all this from basics.
@thequang9234
@thequang9234 9 месяцев назад
with a bit of luck, this is one of the coolest video i've ever watched :)
@LachlanMiller
@LachlanMiller 9 месяцев назад
Thanks! What did you like about it?
@michaelvigato3228
@michaelvigato3228 3 года назад
Man this content is plain and simply amazing
@LachlanMiller
@LachlanMiller 3 года назад
thanks for the praise Michael, I appreciate it. also, the comments help me know what kind of content people like to see.
@DjSeymur
@DjSeymur Год назад
Superb explanation! Thanks a lot for this 🙌
@LachlanMiller
@LachlanMiller Год назад
thanks!
@jimbrannlund4677
@jimbrannlund4677 Год назад
This was AWESOME! Thank you!
@jhonyortiz5
@jhonyortiz5 Год назад
This entertaining and very eye opening when it comes to the past couple decades of web development. I hate when people use simple examples that have been simplified so much that they don't represent reality anymore. But your example was as simple as it needed to be but no more. It's really cool to see how it all really works and how it came together.
@kerimzunic
@kerimzunic 27 дней назад
I'm glad this video exists
@LachlanMiller
@LachlanMiller 26 дней назад
thanks I am glad you exist and watched it!
@CyberCass2000
@CyberCass2000 Год назад
This is just amazing, hat off to you!
@gionatha3747
@gionatha3747 6 месяцев назад
Fantastic video!
@makealemonade
@makealemonade 3 месяца назад
My brain is thanking you.
@dipanshuikey6650
@dipanshuikey6650 4 месяца назад
great video 🔥
@jordantseng8330
@jordantseng8330 8 месяцев назад
god tier explanation
@LachlanMiller
@LachlanMiller 8 месяцев назад
Thank you!
@webb-developer
@webb-developer Год назад
this is amazing . thank you
@slahomar1497
@slahomar1497 8 месяцев назад
that is the best video I watched in my life
@imheretohelp2075
@imheretohelp2075 2 года назад
very good content, pedagogically supreme
@austincodes
@austincodes Год назад
And this is just the top of the iceberg
@LachlanMiller
@LachlanMiller Год назад
Damn straight, below lies dragons Maybe I should make an iceberg video on JS tooling!
@squarerootof2
@squarerootof2 Год назад
hilarious and brilliant!!!
@alextonev4145
@alextonev4145 Год назад
Simply amazing. Thank you so much.
@LachlanMiller
@LachlanMiller Год назад
Thanks! Glad you enjoyed it.
@taaaaaaay
@taaaaaaay 3 года назад
Thanks for the 20 minute headache :) No but really, this made it so much easier to understand what tf is going on.
@LachlanMiller
@LachlanMiller 3 года назад
Thanks, glad you found it useful!
@bakaleisanich
@bakaleisanich 2 года назад
Thank you! More course React!!!
@LachlanMiller
@LachlanMiller 2 года назад
Main focus is around Vue, but definitely could look into some more generic tutorials on concepts that apply to both React and Vue.
@laithdrebaty6709
@laithdrebaty6709 Год назад
Great video, thanks a lot!
@shweta4911
@shweta4911 2 года назад
Great Content!!!!!!
@AiwwwA
@AiwwwA 9 месяцев назад
Best explanation
@edwinquinonespardo4768
@edwinquinonespardo4768 Год назад
Amazing
@JosephLKausi
@JosephLKausi Год назад
Just awesome
@jpmohan96
@jpmohan96 3 года назад
Incredible 👌
@LachlanMiller
@LachlanMiller 3 года назад
thanks JP
@rossli8621
@rossli8621 6 месяцев назад
This is treasure!
@learncodeinbangla9181
@learncodeinbangla9181 2 года назад
It's really awesome things to me. Thanks a lot.
@LachlanMiller
@LachlanMiller 2 года назад
Glad you found it useful!!
@jasonadventure2265
@jasonadventure2265 11 месяцев назад
Impressive ❤
@GoatCS
@GoatCS 4 месяца назад
This is why WordPress is so popular. Running SQL HTML PHP and sometimes JavaScript and you don't even know it.
@oleksandraokhotnykova8672
@oleksandraokhotnykova8672 Месяц назад
"We're not sane, we're INSANE, we're modern web developers" LMAOOO
@avimonnudash1762
@avimonnudash1762 Месяц назад
Beautiful
@ihateorangecat
@ihateorangecat 3 месяца назад
Thanks for this video. ❤🙏 Please make update version too. 🙏❤️
@LachlanMiller
@LachlanMiller 2 месяца назад
Sure thing I’ll try and do it soon. This stuff changes way too fast.
@AnthonyObi-wr6ro
@AnthonyObi-wr6ro Год назад
All your tutorials are always fast pace that it becomes hard for one to follow your pace
@mxsniper223
@mxsniper223 Месяц назад
thanks' a lot man
@StandardLoop
@StandardLoop Месяц назад
Really great video
@LachlanMiller
@LachlanMiller Месяц назад
thanks!
@aidanwelch4763
@aidanwelch4763 2 месяца назад
There's so much worse it can be with SASS, handlebars, WASM, and so much extra complexity you can add on top lol
@bhavyabansal1143
@bhavyabansal1143 2 года назад
I became your fan in just 26 minutes and 41 seconds....
@LachlanMiller
@LachlanMiller 2 года назад
Hey, thanks for the praise! Any other kind of videos you would like to see? Trying to find a good direction for my content and channel 🤔
@bhavyabansal1143
@bhavyabansal1143 2 года назад
@@LachlanMiller if you ask me, I will say that given there are lot of tools out there like your video has explained, it will be good if you can make individual in depth videos of each tool and explain different configurations and what they are used for. I am happy to help as I am also learning these things and there is lot to learn out there.
@bhavyabansal1143
@bhavyabansal1143 2 года назад
@@LachlanMiller just sent you request on LinkedIn. Let’s connect.
@naveedalirehmani4135
@naveedalirehmani4135 10 месяцев назад
legacy code be like : Look what they need just to mimic a fraction of our power. 😃
@Manoj-qf6lq
@Manoj-qf6lq Месяц назад
@kashnigahbaruda
@kashnigahbaruda 3 года назад
As a newbie this was great. Struggled today with some jest testing presets and had absolutely no idea what was going on. I think I solved it because the error went away but I am worried the test was just skipped. Luckily I have no idea how to check which tests was skipped or not so I can go to bed without worry.
@LachlanMiller
@LachlanMiller 3 года назад
Glad you got it working - skipping a test is never ideal, might be good to find out why it's failing lol. Sleep tight
@kashnigahbaruda
@kashnigahbaruda 3 года назад
@@LachlanMiller turns out it was marked with test.skip(...). All greens.
@NomanKhan-pi2dc
@NomanKhan-pi2dc 11 месяцев назад
When i see a guy using vim, I just assume that he is a godly tier developer. Once more I was proved right
@longb1913
@longb1913 2 года назад
3k views wtf... u need to be recognised
@LachlanMiller
@LachlanMiller 2 года назад
Thanks for the motivation!
@anudeepreddy1027
@anudeepreddy1027 6 месяцев назад
Bro casually flexing his VIM skills
@LachlanMiller
@LachlanMiller 6 месяцев назад
I'm very much an average Vim user - always learning new things! Although nowadays I'm using VS Code with the Vim plugin.
@LachlanMiller
@LachlanMiller 6 месяцев назад
Why? I am tired of configuring Vim!
@RikThePixel
@RikThePixel 2 года назад
I would like to see how server-side JavaScript comes into play with this 😂
@LachlanMiller
@LachlanMiller 2 года назад
Another can of worms, maybe soon!
@RikThePixel
@RikThePixel 2 года назад
@@LachlanMiller ooh 👀
@sangilyun234
@sangilyun234 3 года назад
25:25 Can’t relate more
@LachlanMiller
@LachlanMiller 3 года назад
😂
@Mari_Selalu_Berbuat_Kebaikan
@Mari_Selalu_Berbuat_Kebaikan 2 месяца назад
Let's always do alot of good
@oscardasilva971
@oscardasilva971 2 года назад
This is just one of the web development tutorials I have ever seen, Why don't everybody create tutorials like that?
@LachlanMiller
@LachlanMiller 2 года назад
Many people don't understand it all haha
@codybontecou
@codybontecou 3 года назад
If given the choice, would you support ES5? It seems a lot of this complexity comes from supporting old browsers.
@LachlanMiller
@LachlanMiller 3 года назад
Depends, last job I worked we had a lot of users on IE11 (hospitals) so we just used babel to target es5. Nowdays browsers can actually load es modules natively via , so depending on your project you might not even need webpack, just a simple typescript build that exports modules, but I think a pre-configured setup (vue cli, create react app) is probbly the way to go.
@slahomar1497
@slahomar1497 8 месяцев назад
in babel.config, how wepback knows the order to use ? in case of tsx, which loader is gonna run first ?
@LachlanMiller
@LachlanMiller 8 месяцев назад
It goes in the order of the array. I think it goes last to first (weirdly enough).
@roronoa_d_law1075
@roronoa_d_law1075 Год назад
10:37 I don't understand why webpack is needed here if the improvement is to export createElement and import it in index.js. It's impossible to to do this without webpack?
@susilthapa4367
@susilthapa4367 4 месяца назад
Great content! Thank you so much!
@LachlanMiller
@LachlanMiller 4 месяца назад
Glad you liked it!
@fnfal113
@fnfal113 10 месяцев назад
welcome to js land where people over engineer stuffs for convenience
@Ari-lv8nc
@Ari-lv8nc Месяц назад
why god , why
@georgewinchester6403
@georgewinchester6403 Год назад
Why do we bother with ES5 when approximately 95% of web browsers understand ES6?
@LachlanMiller
@LachlanMiller Год назад
Because 5% don't :P I don't bother with ES5 unless I know I need to support older browsers. Here are some use cases I've run into for ES5: - healthcare (often need to support IE11) - smart TV UIs (often using old versions of Chromium or WebKit)
@lamborghinicentenario2497
@lamborghinicentenario2497 Месяц назад
Why is this so hard to follow
@LachlanMiller
@LachlanMiller Месяц назад
not sure, what part are you struggling with?
@topsy_kreds
@topsy_kreds Год назад
Excellent
@LachlanMiller
@LachlanMiller Год назад
Thanks so much 😀
@AmanSharma-pk9iz
@AmanSharma-pk9iz 10 месяцев назад
This is absolutely brilliant. Attaching a storyline to this was genius. This is how everyone learns; through context and use cases. Keep to this style of tutorials and this channel will sky rocket. Well done 💯
Далее
The Difference Between Vue and React
10:27
Просмотров 30 тыс.
Create a React App WITHOUT Create React App
26:21
Просмотров 53 тыс.
СТРИМ ► Elden Ring - Shadow of the Erdtree #5
5:07:46
Занимайся йогой со мной 🫶🏻
00:13
100+ Web Development Things you Should Know
13:18
Просмотров 1,4 млн
TypeScript Origins: The Documentary
1:21:36
Просмотров 274 тыс.
React Webpack Setup From Scratch
20:53
Просмотров 58 тыс.
Webpack 5 Full Project Setup
1:59:00
Просмотров 96 тыс.
The Truth about Rust/WebAssembly Performance
29:47
Просмотров 173 тыс.