Awesome tutorial! This is so great! Love that you covered specific fixes for moment and lodash. Code splitting at the feature level is awesome! Thanks for this easy-to-follow explanation of how it works. It will really help to teach my team. I would love a tutorial on the more advanced features of preload strategies for those bundles and code splitting at the component level. I'm sure those are coming! You all are doing awesome work with the videos! Keep it up!
Proper way of customizing bootstrap or ailwaind deserves a separate video, IMO. Also, when should we re-export imported modules? And does that affect bundle size if you fail to re-export?
what if one of my lazy loaded module use third dependency, e.g. quill.js. Right now I have this dependency inculded in my initial boundle, is there a way to incude it together with the lazy loaded module?
I've had good luck using a service to wrap a dependency that's dynamically imported - pdfmake in my case Just wrap dynamic import (like you would a lazy loaded module) on a class method and set the lib as a service property when it's loaded. Then, once the promise has resolved, your service can be used yo access the dep
How can we implement lazy loading at a component level instead of at the router level? It's common for a lot of components to not be routable. Also, even with specifying the packages, Firebase is still huge :/
could you also tell about domino and how to handle window is undefined with angular packages with angular universal and it's solutions. it been months and i am still not able to use ssr with packages i've used during my development
In my project, I have very similar dependencies to what you have in this tutorial, except that I don't have Lodash. But when I use source-map-explore to generate the bundle analyze, I still see that Lodash is there, any idea where it's from?
Hi, recently watching your videos, they are really amazing but I am facing one huge problem from past 6 months and hoping that you may solve that. Created a web app in Angular and its bit huge app and main concern is about getting light house score very low. Already optimised my code according to this video including modules lazyLoad etc. Still getting score around 56. Please help if you can. Any help would be appreciated. Thanks.
Awesome video!
Wonder who that voice is
That voice always awesome 😆
Looks like recursion
Excellent job buddy. Doing a great work by sharing a very valuable knowledge. Please dont stop sharing.
Bro, is dat you?
We need more tutorials/guides from Angular. Fireship is great tutorial maker, I believe he can bring Angular to the next level.
що правда, то правда :D
The voice sounds pretty familiar! 😉
haa
Where!!!!
Fireship guy
True!
@Fireship one
Would be cool having video about Best Practice/Anti-Pattern in Angular from Angular team
Much needed video on Angular optimization. Awesome, Angular and Jeff.
Wow! Thank you for the video. I probably paused every 20 sec to check my code for mistakes. Really helpful stuff!
Hello, Fireship))
Awesome tutorial! This is so great! Love that you covered specific fixes for moment and lodash.
Code splitting at the feature level is awesome! Thanks for this easy-to-follow explanation of how it works. It will really help to teach my team. I would love a tutorial on the more advanced features of preload strategies for those bundles and code splitting at the component level. I'm sure those are coming! You all are doing awesome work with the videos! Keep it up!
The amazing Fireship 😉
I never knew Jeff has another. Thanks to your Slack channel!
Proper way of customizing bootstrap or ailwaind deserves a separate video, IMO. Also, when should we re-export imported modules? And does that affect bundle size if you fail to re-export?
That voice from that dude from FireShip right?
what if one of my lazy loaded module use third dependency, e.g. quill.js. Right now I have this dependency inculded in my initial boundle, is there a way to incude it together with the lazy loaded module?
I've had good luck using a service to wrap a dependency that's dynamically imported - pdfmake in my case
Just wrap dynamic import (like you would a lazy loaded module) on a class method and set the lib as a service property when it's loaded. Then, once the promise has resolved, your service can be used yo access the dep
I learned a lot from this class. Obrigado!
Jeff... You are the one 👍👍👍
Heey, currently our app has been really slow in building.
Does tree shaking also improve build performance, since you have less to build?
How can we implement lazy loading at a component level instead of at the router level? It's common for a lot of components to not be routable.
Also, even with specifying the packages, Firebase is still huge :/
Windmillcode has a video on that
m.th-cam.com/video/Mkv0JxDljfc/w-d-xo.html
Really impressive and useful for everyone.
best angular tutorial video!
That's awesome Jeff! ;)
Thank you for your great work. Any resources for the style imports please?
Hi please do a similar video on Ionic 5.. thanks !
Hey man how to apply compression during build. You pointed out the problem, without suggesting any solution.
Bro, this is fireship!
Does anyone have recommendations for a good target bundle size? What's the optimal size we want to set our budgets to?
Keep going Angular 💯
Jeff is the best !!!
could you also tell about domino and how to handle window is undefined with angular packages with angular universal and it's solutions. it been months and i am still not able to use ssr with packages i've used during my development
The main issue even if you follow this things is that Angular is MASSIVE. It currently makes 50% of our production bundle
I love it ! I wish I watched your video earlier
which VS theme are you using?
Why do we need pwa while anybody out there got internet connection? Can somebody tell me why do we need to waiste time on such a thing?
More fireship angular content 🔥
is this @fireship who's speaking?
HEY THAT VOICE REMINDS ME OF THIS GRANDMASTER I KNOW
In my project, I have very similar dependencies to what you have in this tutorial, except that I don't have Lodash. But when I use source-map-explore to generate the bundle analyze, I still see that Lodash is there, any idea where it's from?
it's probably because other dependencies depend on lodash
Cool video, thanks!
Hi fireship
if you wanna feel like you are in the fireship channel just put playback speed to 1.25
Here after getting >WARNING/ERROR in budgets, maximum exceeded for initial
Is this Jeff of fireship?
Hi, recently watching your videos, they are really amazing but I am facing one huge problem from past 6 months and hoping that you may solve that.
Created a web app in Angular and its bit huge app and main concern is about getting light house score very low. Already optimised my code according to this video including modules lazyLoad etc. Still getting score around 56. Please help if you can. Any help would be appreciated. Thanks.
Make sure you are not running the test in development mode, ok? But if you so, configure angular to optimize in development mode as well.
Fireship in the house🤪
Wo! Isn't this Jeff?
its a fireship guy. Yayayayay
Why does this sound like Fireship 🧐
Jeff!
`ng build --prod` June 2021 🙄
The voice is very suspicious 🤔
J A F A
➕