NgComponentOutlet in Angular - DECLARATIVE Dynamic Components

  Рет қаралды 9,753

Decoded Frontend

Decoded Frontend

Күн бұрын

Пікірлер: 38
@DecodedFrontend
@DecodedFrontend 3 ай бұрын
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/DecodedFrontend. You’ll also get 20% off an annual premium subscription.
@returncode0000
@returncode0000 2 ай бұрын
You are one of the best Angular instructors, I really love the clarity on how you explain things, great job!
@gund_ua
@gund_ua 2 ай бұрын
Nice video as usual Dmytro! Finally, 7 years later, angular added this to the core and my library can be deprecated (once outputs are added as well).
@DecodedFrontend
@DecodedFrontend 2 ай бұрын
Thanks, Alex! Your library is fantastic and was happy to recommend it to everyone who neede to handle complex use cases with dynamic components! 🙌🏻
@haroldpepete
@haroldpepete 2 ай бұрын
Damn, the last part was impressive, you're the angular man, thanks. I would like to watch a video about how get user preferences from the backend, then hide or show features depend on user priveleges and preference, and if you may use guard in routes, it would be nice
@gagiksimonyan3782
@gagiksimonyan3782 2 ай бұрын
Thanks Dmytro for another useful video)
@ahfazrahman9328
@ahfazrahman9328 2 ай бұрын
Thank you for the wonderful content @DecodedFrontend.
@maximvoloshin7602
@maximvoloshin7602 2 ай бұрын
Thanks for limitations. Great video!
@DecodedFrontend
@DecodedFrontend 2 ай бұрын
Thank you 😊
@alphamarouanadiallo8238
@alphamarouanadiallo8238 2 ай бұрын
Thanks again !
@manuelhohagen4441
@manuelhohagen4441 2 ай бұрын
Another amazing video! So many thanks!!
@DraaElMizan
@DraaElMizan 2 ай бұрын
Another amazing tutorial. Thanks Dmytro.
@AnamariaNanes
@AnamariaNanes 2 ай бұрын
Thanks!
@DecodedFrontend
@DecodedFrontend 2 ай бұрын
Thank you so much for your support ❤️
@vamvdotnet
@vamvdotnet 2 ай бұрын
Great demo!!!
@Nabulio85
@Nabulio85 2 ай бұрын
Really great. ❤
@oleksiipopov5143
@oleksiipopov5143 2 ай бұрын
Thank you! It was realy usefull video!
@DecodedFrontend
@DecodedFrontend 2 ай бұрын
Glad to hear that! Thank you!
@spamdump7337
@spamdump7337 2 ай бұрын
why Type instead of WidgetComponent?
@albertoalbericio6163
@albertoalbericio6163 Ай бұрын
Do you know if you can use [ngComponentOutletInputs] to chain Inputs? I mean, instead of defining a static string value for the input, bind it to a real Input in the creator component. Thanks for your video.
@alexander-3701
@alexander-3701 2 ай бұрын
@DecodedFrontend How would you prevent loading unused components from the map?
@DecodedFrontend
@DecodedFrontend 2 ай бұрын
Using the import('./component-path') to lazy load them :)
@alexander-3701
@alexander-3701 2 ай бұрын
@@DecodedFrontend Another question. :) How would you approach this case but with micro-frontends?
@ytamb01
@ytamb01 2 ай бұрын
@@DecodedFrontend yes. your widget keys could be the component-paths so you don't have to import them up-front?
@musoverda
@musoverda 2 ай бұрын
thank you! another interesting and useful video! this time - do you use protected as an alternative to private? ) i like this approach more than the # symbol
@NiGhTm4r389
@NiGhTm4r389 13 күн бұрын
There is no [ngComponentOutletInputs] (anymore?). Instead I have to use ngComponentOutlet as a structural directive: *ngComponentOutlet="component; inputs" Is this video still up to date? Also, is it possible to strictly type the inputs so I don't just put random stuff in there? I imagine having like 5 different components, that another component, which has the directive can use and they all have different inputs. I kinda want a type or interface that says "this component has these inputs". Is that possible?
@ahmedshehata4143
@ahmedshehata4143 2 ай бұрын
I have an Angular application that uses lazy-loaded modules. One particular module contains a lot of components that depend on user input, where only one component is visible at a time based on the user's choice. I am experiencing issues with managing the visibility of these components. Currently, I am using CSS classes to hide/show components, but this approach leads to problems when interacting with visible components. When I use the *ngIf directive to conditionally render components, it works correctly but may cause performance issues as it triggers re-rendering of components each time the user changes their input. How can I efficiently manage the visibility of these components to improve performance while avoiding unnecessary re-rendering?
@MrVinodkumar92
@MrVinodkumar92 2 ай бұрын
How can we get the widget component class without defining so that the component is not dependent and everything can be lazily loaded.
@FriendlyAce
@FriendlyAce 2 ай бұрын
Are your courses also available on udemy?
@DecodedFrontend
@DecodedFrontend 2 ай бұрын
Hello, Unfortunately, I moved from Udemy and my angular courses are not available there.
@stefanstanchev5315
@stefanstanchev5315 2 ай бұрын
Great demo, but may I ask something? Why you prefer to create and re-assign properties instead of using signals?
@DecodedFrontend
@DecodedFrontend 2 ай бұрын
Hi :) Since it is a tutorial, everything that is not related to the topic directly, I simplyify as easy as possible to reduce unnecessary cognitive load. You should not treat it as a production-ready code.
@stefanstanchev5315
@stefanstanchev5315 2 ай бұрын
​@@DecodedFrontend Sounds valid. However, from my perspective, many would be interested in seeing how you would implement this piece of code. Signals are straightforward, yet they remain a core part of Angular functionality. Kudos for all the great work you’ve done and continue to do!
@oWeRQ666
@oWeRQ666 Ай бұрын
They'll do anything not to use the virtual dom.
@bukanaka
@bukanaka 2 ай бұрын
Атомный контент подъехал!
Angular Resource API - Everything You Have To Know (so far)
27:58
Decoded Frontend
Рет қаралды 10 М.
Content Projection in Angular - Complete Guide (Beginners/Advanced)
26:18
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 3,4 МЛН
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 114 МЛН
Yay😃 Let's make a Cute Handbag for me 👜 #diycrafts #shorts
00:33
LearnToon - Learn & Play
Рет қаралды 117 МЛН
Dynamic Component in Angular (2024)
17:48
Decoded Frontend
Рет қаралды 25 М.
TOP 5 Angular Interview Questions and Answers (for experienced, 2020)
21:50
Angular dependency injection in depth -  Dependency providers (2021)
17:19
Angular v19 Developer Event
22:54
Angular
Рет қаралды 53 М.
"You're Doing Validation Wrong in .NET" | Code Cop #023
14:44
Nick Chapsas
Рет қаралды 40 М.
Angular Json File - My Top 8 Settings (2022)
29:30
Decoded Frontend
Рет қаралды 27 М.
Why Angular Signals? Write Your First Signal
14:25
Angular University
Рет қаралды 15 М.
Domain-Driven Design: The Last Explanation You'll Ever Need
21:05
Software Developer Diaries
Рет қаралды 10 М.
NgTemplateOutlet in Angular - Everything You Have to Know (2022)
35:15
Decoded Frontend
Рет қаралды 53 М.
СКОЛЬКО ПАЛЬЦЕВ ТУТ?
00:16
Masomka
Рет қаралды 3,4 МЛН