Dhananjay Kumar

JavaScript Conference 2023 (Warsaw & Online)
Learn from the Best
Meet Dhananjay Kumar

Dhananjay Kumar

ViewChild or Contentchild? What to use!

ViewChild and ContentChild are decorators to configure queries on the component’s template. They can be used for various purposes, such as querying the child component or projected contents. A better understanding of these two decorators and their corresponding life cycle hooks empowers developers to write robust Angular applications.

In a step-by-step approach with live coding, this talk explains.

1. Difference between ViewChild and ContentChild decorators
2. Various input parameters to define a ViewChild such as {static: true}
3. ngAftterViewInit and ngAfterContentInit life cycle hooks
4. Content projection to simplify ContentChild
5. Various types of ViewChild
a. ElementRef
b. ViewContainerRef

Attend this talk to master ViewChild and ContentChild to write reusable components and robust Angular applications.

Dhananjay Kumar - Teacher and Consultant, ngIndia | India

Dhananjay Kumar is a Consultant and Trainer from India and organizer of one of the world's largest Angular conferences, ng-India.

He is a published Book Author, International Speaker, and Founder of , which provides full enterprise-level training and consulting to various clients worldwide.

Currently, he is focusing on Angular, .NET Core, Azure, and GraphQL. He lives in Gurgaon, India, and is writing his second Angular book and training for his first half marathon.

Dhananjay Kumar in action

Learn from the Best Featured Speakers

Noam Honig

Creator of Remult, remult.dev | Israel

Marcin Hoppe

Principal Security Engineer , Okta | Poland

Arisa Fukuzaki

Developer Relations Engineer, Storyblok | Germany

Miško Hevery

Chief Technology Officer, Builder.io | USA

Daniel Phiri

Developer Advocate, Weaviate | France

Katarzyna Janus

Software Engineer, Digital Hub Warsaw, Bayer | Poland

Michael Hladky

CEO, push-based.io | Austria

Tomasz Ducin

Independent Consultant, Architect, Developer & Trainer, Poland

Shani Geva

Frontend Software Engineer, Tech a Hike | Israel

Sebastian Gos

Development Manager, BEC | Poland

Younes Jaaidi

Software Development Cook, Teacher & Coach, GDE | France

Aureo Beck

Project Lead Developer, Irish Life Health | Poland

Maciek Palmowski

DevRel, Kinsta | Poland

Mateusz Ostafil

Technology Evangelist, Divante | Poland

Hila Fish

Senior DevOps Engineer, Wix.com | Israel

Bartosz Wasilew

Senior Software Engineer, G-Group.dev | Poland

Petr Glaser

Founder, Nauč mě IT | Germany

Nir Kaufman

Front End Tech Lead, Tikal | Israel

Alex Okrushko

Principal UI Architect, Cisco | Canada

Gerard Sans

Developer Evangelist for Web and Cloud, UK

Enea Jahollari

GDE, Trainer, Senior Software Engineer, Push-Based.io | Albania

Juan Herrera

Google Developer Expert, Austria

Artsiom Marozau

Software Engineering Team Leader, EPAM | Poland

Kamil Michalski

Front End Consultant and Trainer, Poland

Michael Egger-Zikes

Trainer & Consultant, AngularArchitects.io | Austria

Jakub Pawlak

Frontend Angular Developer, BEC | Poland

Dhananjay Kumar

Teacher and Consultant, ngIndia | India

Maciej Czerwiakowski

Independent IT Consultant, owner of 13DSGN.COM, Poland

Fanis Prodromou

Google Developer Expert, CodeShotsWithProfanis | Greece

Anton Ilchenko

Software Engineering Team Leader, EPAM | Spain

Paweł Kozioł

Lead Software Engineer, Digital Hub Warsaw, Bayer | Poland

Jakub Andrzejewski

Senior Developer, Vue Storefront | Poland

Manfred Steyer

Consultant and Author, softwarearchitekt.at | Austria

Companies that support our community Our Sponsors

By becoming a sponsor of JS Poland you will get an excellent opportunity to showcase your company and products to 1000 most active European developers. Such exposure will definitely help you to generate interest in your company, as well as allow you to find new business partners and potential employees. To learn more about our sponsorship offer, please fill in the form.

Join our mailing list

Sign up to receive updates about JS Poland, including workshops, speaker previews, ticket launches, JS Awards, JavaScript Master Podcast, Behind the Code Magazine, CFP details and other exclusive content. We won’t spam you and will only send you emails we genuinely think you’ll find interesting. You can unsubscribe at any time and you can find more information here.