Why does Angular always complain about null values?! @JoshuaMorony
Why does Angular always complain about null values?!  @JoshuaMorony
Uploaded August 2022 | Updated September 2026, 2 weeks ago
My modern Angular course: 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: 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: eliteionic.com
- Follow me on Twitter: twitter.com/joshuamorony
Why does Angular always complain about null values?!There was a flaw in my Angular mental modelIntroducing... the NEW Angular frameworkI built the backrooms in 3D... with Angular?This solved a problem Ive had in Angular for yearsA 7 minute guide to SESSIONS and COOKIES for authentication in AngularHow Im preventing burnout when coding with LLMsHow I use E2E tests to drive my Angular testing approachJavaScript optimisation with LLMs is too good to ignore nowThe most cursed Angular feature Ive ever builtToo much junk in your Angular components? Try composition instead of inheritance!I didnt know about FLASH in neovim (kinda mad about it)
Joshua Morony |

Why does Angular always complain about null values?!

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER