NgComponentOutlet in Angular - DECLARATIVE Dynamic Components

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

Decoded Frontend

Decoded Frontend

Күн бұрын

Пікірлер: 38
@DecodedFrontend
@DecodedFrontend 2 ай бұрын
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! 🙌🏻
@alphamarouanadiallo8238
@alphamarouanadiallo8238 Ай бұрын
Thanks again !
@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
@vamvdotnet
@vamvdotnet Ай бұрын
Great demo!!!
@maximvoloshin7602
@maximvoloshin7602 2 ай бұрын
Thanks for limitations. Great video!
@DecodedFrontend
@DecodedFrontend 2 ай бұрын
Thank you 😊
@ahfazrahman9328
@ahfazrahman9328 2 ай бұрын
Thank you for the wonderful content @DecodedFrontend.
@manuelhohagen4441
@manuelhohagen4441 2 ай бұрын
Another amazing video! So many thanks!!
@gagiksimonyan3782
@gagiksimonyan3782 2 ай бұрын
Thanks Dmytro for another useful video)
@AnamariaNanes
@AnamariaNanes 2 ай бұрын
Thanks!
@DecodedFrontend
@DecodedFrontend 2 ай бұрын
Thank you so much for your support ❤️
@DraaElMizan
@DraaElMizan 2 ай бұрын
Another amazing tutorial. Thanks Dmytro.
@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
@Nabulio85
@Nabulio85 2 ай бұрын
Really great. ❤
@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?
@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?
@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.
@NiGhTm4r389
@NiGhTm4r389 10 күн бұрын
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?
@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.
@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?
@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
Рет қаралды 9 М.
Content Projection in Angular - Complete Guide (Beginners/Advanced)
26:18
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,8 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 5 МЛН
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 131 МЛН
Understand FileMaker’s Layout Architecture - Day 2
1:03:20
FileMaker Training Videos
Рет қаралды 7
Dynamic Component in Angular (2024)
17:48
Decoded Frontend
Рет қаралды 25 М.
ShareReplay in RxJS - Hidden Pitfall You Have To Know (Advanced)
19:17
Decoded Frontend
Рет қаралды 10 М.
Angular change detection explained in 5 minutes
6:06
Simplified Courses
Рет қаралды 14 М.
Why I decided to switch to the inject() function in Angular
6:10
Joshua Morony
Рет қаралды 60 М.
TOP 6 Mistakes in RxJS code
18:35
Decoded Frontend
Рет қаралды 22 М.
Deferrable Views - New Feature in Angular 17
15:31
Decoded Frontend
Рет қаралды 24 М.
NgTemplateOutlet in Angular - Everything You Have to Know (2022)
35:15
Decoded Frontend
Рет қаралды 53 М.
Domain-Driven Design: The Last Explanation You'll Ever Need
21:05
Software Developer Diaries
Рет қаралды 10 М.
TOP 5 Angular Interview Questions and Answers (for experienced, 2020)
21:50
БУ, ИСПУГАЛСЯ?? #shorts
00:22
Паша Осадчий
Рет қаралды 2,8 МЛН