In TypeScript, Type Assertions allow developers to explicitly specify the type of a variable to the TypeScript compiler. When the compiler cannot infer the type of a variable and the developer is more sure about the type, they can use a type assertion. Type assertions are a compile-time construct that does not result in runtimeContinueContinue reading “What is Type Assertion in TypeScript”
Tag Archives: ngindia
What are Discriminated Unions Patterns in TypeScript?
Recently, I came across a pattern named Discriminated Unions Types in TypeScript. In this blog post, let us learn about that. Discriminated Unions are a pattern where each type in the union has a common property. In TypeScript, a union type allows a variable to hold one of several specified types. A straightforward example of aContinueContinue reading “What are Discriminated Unions Patterns in TypeScript?”
Standalone Component – Recording of ng-India 2023 Talk
Every Angular developer must get familiar with Standalone API and should learn to build an Angular app without using any module. In India’s Largest Angular Conference, ng-India 2023, I delivered as talk on the same. watch the recording of the talk here. In the last do not forget to watch chatGPT demo. If you preferContinueContinue reading “Standalone Component – Recording of ng-India 2023 Talk”
How to Lazy and Dynamically Load a Component in Angular
There are three ways you can use a component in an Angular app. Loading on route change Using as a child component Dynamically loading on demand However, this article focuses on loading a component dynamically and lazily. The main advantage of lazily loading a component is reducing the initial bundle size and only downloading theContinueContinue reading “How to Lazy and Dynamically Load a Component in Angular”
Thank you for ng-India 2020, find Photos and Resources here.
Hey there! I’m Dhananjay Kumar, organizer of India’s Largest Angular Conference, ng-India. I thank you for participating in ng-India on 29 Feb 2020 in Delhi. It is you, who has made ng-India, India’s (or perhaps Asia’s) Largest Angular Conference. I hope you had a good time learning from esteem speakers from across the world, youContinueContinue reading “Thank you for ng-India 2020, find Photos and Resources here.”
Recognized as a Google Developer Expert by Google
I am officially a Google Developer Expert in Angular and Web Technologies. I take this opportunity to thank the Angular global community and all my students who come to my training, meetups, and workshops. This recognition was never possible without you. I am humbled to be one of the few professionals who are awarded asContinueContinue reading “Recognized as a Google Developer Expert by Google”
Delivering two talks at Devfest Gandhinagar 2019
Ahmadabad is always very close to me as I did my first public speaking in this city back on 24 July 2010. Since then I have been trying to do at least one workshop or talk each year here, so continuing the ritual, I am again coming to Ahmadabad/Gandhinagar on 13th October to speak inContinueContinue reading “Delivering two talks at Devfest Gandhinagar 2019”
Completed 11 Years working in the Industry
I am very excited to share that today I completed 11 years working in the industry. It has been a learning and good challenging journey for me. During last 11 years, I have lived in three different cities and worked on six different technologies. I started my career as Software Engineer and currently working asContinueContinue reading “Completed 11 Years working in the Industry”
Recap of 2018
Hi Reader, THANK YOU, for being with me in 2018. It was another good year due to your Support, Trust, and Love. Besides, you, I would like to thank my employer Infragistics and my boss Jason Beres that they gave me opportunities to contribute to developer community. If you are an Angular developer, you mayContinueContinue reading “Recap of 2018”