Why does Angular always complain about null values?!

Published: 10 August 2022
on channel: Joshua Morony
7,502
373

My modern Angular course: https://angularstart.com/

In this video, we take a look at why enabling strict mode in TypeScript causes so many null or undefined errors in Angular and what to do about it.

Get weekly content and tips exclusive to my newsletter: https://mobirony.ck.page/4a331b9076

Learn Angular with Ionic: https://ionicstart.com

0:00 Introduction
0:55 The problem with null values
1:35 Input value not initialised
2:33 Supplying an initial value
2:50 Handle the undefined case
3:55 Non-null assertion operator
4:49 Null values in the template
8:17 Conclusion

#ionic #angular #typescript

More tutorials: https://eliteionic.com
Follow me on Twitter:   / joshuamorony  


On this page of the site you can watch the video online Why does Angular always complain about null values?! with a duration of hours minute second in good quality, which was uploaded by the user Joshua Morony 10 August 2022, share the link with friends and acquaintances, this video has already been watched 7,502 times on youtube and it was liked by 373 viewers. Enjoy your viewing!