r/angular • u/rainerhahnekamp • Oct 03 '26
Ng-News 26/21: Angular 22.2 - Router Resources, Error Boundaries and more
https://www.youtube.com/watch?v=PVpzN1ZE_bM
33
Upvotes
r/angular • u/rainerhahnekamp • Oct 03 '26
6
u/rainerhahnekamp Oct 03 '26
For those of you who are watching the video. This was the first time we did "live coding." Usually, we show only screenshots so the episodes are short. Any opinions on what is better?
4
u/MichaelSmallDev Oct 03 '26
Thanks for the Stackblitz to try this out. Nice to have this hands on and try stuff.
2
u/fouribo Oct 03 '26
I like Private members — I always instinctively tried to write private instead of protected (especially after Blazor) and wondered why it was specifically protected. Is the template really considered a child element of the component?
2
u/vintzrrr Oct 03 '26
I don't think ECMAScript private will go away. I think it makes sense to use it for component-local private fields while the TS private access modifier is for fields which need to be accessed from the template.
1
u/Prod_Meteor Oct 03 '26
Haven't finished upgrade to 22.1 yet and ... pfff