Deferrable views in Angularv17
Ойын-сауық
Learn about what's new for Angular deferrable views with prefetching, custom triggers, and much more!
Check out our website → goo.gle/AngularDev
Watch more videos about Angular v17 → goo.gle/Angularv17
Subscribe to Angular → goo.gle/Angular
#Angular
Пікірлер: 48
Check out our website → goo.gle/AngularDev
You guys deserve all the awards coming in
@developeroppa
6 ай бұрын
It's nice to see a fellow Nigerian brother who also loves Angular, like anywhere I look in Nigeria it's just react.
👉 👈 👇 awesome 🤙
Nice vídeo! I'm studying to become an Angular Developer (planning to become full stack later) for some time now, I've created a few projects and I learn new things every single day. There are some struggles between university and my own studies, but I believe the journey is well worth it. Angular is a really complete and fun framework to work with! I'm really excited for the new possibilities with Angular 17 now, thank you guys for your work!
Amazing to see the progress of Angular and make us devs life easier, many thanks.
Angular is becoming 🔥
Great feature, funny jokes and excellent punch line. Thanks Angular team for enhancing this amazing platform
The other day I updated an application from Angular 14 to 17, I reduced a lot of code and loading times with signals and the new supports. Totally changed the placeholder and spinner part through interceptors and services, I put it aside and used the new deferred view blocks, a great addition is more simpler, descriptive and versatile.
I just love this feature ❤
amazing feature!! i loved it
All the puns are great
Looks great!
This is amazing🎉 great work
the lady makes such a wonderful explanation, i wish everybody teach like that, thanks
@Satyam-IN
7 ай бұрын
He not she
@haroldpepete
7 ай бұрын
@@Satyam-IN i don't get it, what do you mean?
@Satyam-IN
7 ай бұрын
@@haroldpepete Gender transition. From he to she.
@haroldpepete
7 ай бұрын
@@Satyam-IN ah ok, i didn't know that, i have my doubts but i wasn't sure about it, now everything is clear
@Satyam-IN
7 ай бұрын
@@haroldpepete Well I'll always opposed for gender transition. this people are just lost in this world.
what a commendable job that you done appreciate very much 👏👏👏👏👏👏
@defer is awesome. Using it everywhere
Thanks for sharing!
This is huge!
I can't wait until I Angular!
Woohooo, I knew I was making the right choice when I chose Angular over React. :p
I start to fall in love with this, (after my initial repulse), however I don't quite get the example of the combined defer conditions (3:46). Are those joined by AND or OR?
An example snippet of the component fixture wouldn't have hurt in this, otherwise very informative, video ;)
Nice 🙂
nice
Does 'prefetch when !!val' also work, or do we have to use explicit booleans?
angular is the best framework :) Does anyone know when the @error shows? I guess it's just if there's an error loading the deferred component?
@Angular
7 ай бұрын
If there is an error while loading the component when using @defer
I think angular is the best frontend framework.
Will this allow for a complete replacement of the old method of implementing lazy loading at the route level? Or are there cases where the old method still needs to be used?
@Angular
7 ай бұрын
There will still be times where you need to lazy load an entire route and times where you might want to only use deferrable views. Having both options increases your flexibility and gives you more tools to implement your solutions.
It's amazing, but we will have to wait a couple years until we will be able to use this features, cause most of the projects won't update right away :)
It is possible to be like this @defer(condition).match(@loading => loading, @success => success, @error => error)
What's the difference between defer and if
@Humppakarajat
7 ай бұрын
defer loads your component on demand from the server, so it does not have to be part of your initial bundle.
@Angular
7 ай бұрын
@If is conditional rendering but the code for the component is still included with the bundle. @defer will only ship the code to the browser when it is loaded. So conditional rendering vs lazy loading
I see that defer is mainly used to reduce bundle size etc. but can it also be used just to delay rendering for heavy components? Is that an intended use or is there a better approach?
@Angular
7 ай бұрын
Yes you can use it for that reason, too 👍
Don't like the new block syntax
@Angular
7 ай бұрын
What do you prefer?
Hi! Are you planning to give up RxJs in the future?