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

Tomasz Ducin

Independent Consultant, Architect, Developer & Trainer, Poland

Dr. Philippe De Ryck

Security Expert, Founder, GDE, Pragmatic Web Security | Belgium

Sylwia Laskowska

Senior JavaScript Developer, Atos | Poland

Eugene Fidelin

Engineering Manager & Frontend SME, eBay | Netherlands

Julien Huang

Nuxt Core Team, Leetchi | France

Jemima Abu

Front End Developer, GDE, Microsoft MVP , CAIS | UK

Nir Kaufman

Tech Lead, Full-stack AI Engineer, GDE, Tikal | Israel

Daria Poliakova

Front-end developer, Conscensia | Poland

Matthew Podwysocki

Staff Engineer, Mapbox | USA

Damian Płaza

Senior Software Engineer / Power Grid Gdańsk R&D Manager, Volue/Bottega IT Minds | Poland

Soumaya Erradi

Senior Software Developer, Atlantis S.R.L. | Italy

Ihor Maistrenko

Angular / .NET Developer / Team Lead, Conscensia | Poland

Manfred Steyer

GDE for Angular, softwarearchitekt.at | Austria

Jakub Andrzejewski

Senior Fullstack Developer & Advocate, GDE, Monterail | Poland

Markus Ingvarsson

Back End Developer, Podme | Sweden

Michał Jawulski

Managing Delivery Architect, Capgemini | Poland

Frizzarin Nicolas

Senior Staff Engineer, GDE, SFEIR | Luxembourg

Önder Ceylan

Principal Engineer, Google Developers Expert, Jumbo Supermarkten | Netherlands

Alain Chautard

GDE, Expert Web Consultant, Trainer, Mentor, Angular Training | France

Michael Egger-Zikes

Trainer & Consultant, AngularArchitects.io | Austria

Alex Okrushko

Senior Software Engineer, Snowflake | Canada

Alexander Thalhammer

Passionate Angular Developer, Angular Architects | Austria

Younes Jaaidi

Software Development Cook, Teacher & Coach, GDE | France

Daniel Sogl

Software-Architekt, Thinktecture AG | Germany

Rainer Hahnekamp

Trainer and Consultant, AngularArchitects.io | Austria

Dariusz Kalbarczyk

Google Developer Expert, Author, Podcaster, NG/JS/AI POLAND | Poland

Companies that support the JavaScript ecosystem
Our Sponsors 2025

By becoming a sponsor of JS Poland, you gain a unique opportunity to showcase your company and products to hundreds of experienced JavaScript developers, engineers, and tech leaders from across Europe. This kind of exposure can boost visibility, strengthen your brand within the JS community, and help you attract top engineering talent. To learn more about our sponsorship opportunities, 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.