Getting Started with Standalone Components in Angular
HTML-код
- Опубликовано: 24 авг 2022
- Join the Angular team's very own Jessica Janiuk as she guides us through the getting started with the brand new Standalone Components feature in Angular.
Join the conversation online:
Angular Twitter → / angular
Jessica's Twitter → / thepunderwoman
Example Code:
github.com/angular/examples/t...
Sample of Demo is not good, If you use : Learn More
This page will reload all scripts, images, including [main.js] . So, I recommend you demo with using [routerLink] to reload only script.Angular keeps on becoming better and better 🎉🙏🏾
So Angular is becoming more like React and Vue?
I see, "I am standing here alone...". Nice entry point 😂
Uhmmmm... Angular getting away from being Angular...?
Good info but not professional. Because it doesn't talk about concrete roadmap. What is the place of module and component in the future. Doesn't give confidence about how to design for future compliance.
is this AI?
so painful seeing the navigation to dogView using a href...
When I use: `ng generate component DogsList --flat --standalone`. I no longer get the CommonModule as imports nor implements OnInit by default in my generated code. is that correct??
Very cool, I'm using standalone components only since it got out, my app got no modules whatsoever
Finally! This was the main feature angular was missing, compared to react and vue. It makes refactoring so much easier (just because less files are involved).
Amazing feature, when building with react component , we expected something we need here in Angular also..
Love this new feature! Used it already in prod project.
I love this feature. Finally, it is here
great thanks for that! Very clear and articulate!
With the popularization of Single Component Angular Modules (SCAM), standalone components was the most obvious next step. I'm thrilled this happened so seamlessly.
Thanks for explaining, I rewrote the project today, removed all modules and set components as standalone. Now I feel like the most standalone programmer with all that provider functions at main.ts file. The framework is moving to splitted direct dependencies more and more. That's the great decision but also I so used to work with modules) For now my feature folder is determined with routing of lazy loading components. Please create more examples of all native modules providers that were wrapped by functions with new naming 🙏❤
This is an amazing feature because it reduces the number of files you'll need to handle in your project but I think it will be widely used to implement small components rather than bigger ones.
THANK YOU! for such a great job!
This is a great feature. Looking forward to when this is production ready