well, as new in angular framework.. i'm trying to do projects with videos in yt. Is it better to do it in the 17 version or to change it to match better with the videos? everything throws me an error and nothing shows up on localhost
I have a folder called components with a subfolder called header which has the header files(css,ts,html), but when I go to app.component.html and write the tag , it tells me that "'app-header' is not a known element: 1. If 'app-header' is an Angular component, then verify that it is included in the '@Component.imports' of this component.", how can I solve this
I said the same when I heard. Which is why ng feels like a "wolf a in sheep's clothing" a bit. Their changes are not just coding patterns like 'react hooks' for example .. they are syntax and notation changes. So devs have to re-learn how to put a dot on the screen and digest all sorts of concepts to get running. Why not just say they're making a TS version of razor and be done, because it'll never feel as "js spiffy" as the others? That being said I do use (and am familiar with) the 'angular' way, so ng17 here I come.
Why do we need an *ngIf with an object? This condition will always be true. Oh, i believe it is for the “as” statement . You can do this @if( {..}; as vm ) { // use vm …. }
What is your favorite feature about Angular v17?
SSR & Deferred Loading 😀
Do you have video of using Vitest for Angular?
well, as new in angular framework.. i'm trying to do projects with videos in yt. Is it better to do it in the 17 version or to change it to match better with the videos? everything throws me an error and nothing shows up on localhost
oh.. you answered this in the video :) ..how i change the version 17 i have with somethimg else?
Having your video in the bottom right corner and content on the full screen would have been good.
I have a folder called components with a subfolder called header which has the header files(css,ts,html), but when I go to app.component.html and write the tag , it tells me that "'app-header' is not a known element:
1. If 'app-header' is an Angular component, then verify that it is included in the '@Component.imports' of this component.", how can I solve this
You have to import HeaderComponent in the ‘imports’ of the AppComponent
That is because previously, the components were auto imported, now you have to manually import them.
Thet have borrowed the control flow from Blazor... this is similar to razor syntax.
Yep. It is similar. But there were a lot of discussions about using the @ or #.
So it wasn’t just that they just picked it up from razor :)
I said the same when I heard. Which is why ng feels like a "wolf a in sheep's clothing" a bit. Their changes are not just coding patterns like 'react hooks' for example .. they are syntax and notation changes. So devs have to re-learn how to put a dot on the screen and digest all sorts of concepts to get running. Why not just say they're making a TS version of razor and be done, because it'll never feel as "js spiffy" as the others? That being said I do use (and am familiar with) the 'angular' way, so ng17 here I come.
Control flow deferred loading and asr
is youtube developed using angular
UA-cam is built with another Google's internal framework
How do we modify the following code
Why do we need an *ngIf with an object? This condition will always be true. Oh, i believe it is for the “as” statement .
You can do this
@if( {..}; as vm ) {
// use vm
….
}
@@CodeWithAhsan thanks, mate!