---
title: "Discussion on \"How to use Template Reference Variable in Parent-Child components interaction?\" | Hashnode"
description: "Discussion on \"How to use Template Reference Variable in Parent-Child components interaction?\". Let the Parent component talk to the Child component :)"
url: "https://hashnode.com/posts/how-to-use-template-reference-variable-in-parent-child-components-interaction/60e748e43dc33f032e23be34"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to use Template Reference Variable in Parent-Child components interaction?](https://blog.askudhay.com/how-to-use-template-reference-variable-in-parent-child-components-interaction?utm_source=hashnode&utm_medium=feed)

Let the Parent component talk to the Child component :)

Jul 8, 2021 · 2 min read · blog.askudhay.com  
Read the article

-   [#angular-2](https://hashnode.com/tag/angular-2)
-   [#angularjs](https://hashnode.com/tag/angularjs)

## Written by

[Udhayakumar Govindarajan](https://hashnode.com/@askudhay)

@askudhay · Chennai, India

  
[View profile](https://hashnode.com/@askudhay)

Independent Software Consultant

• Full Stack Engineer • Auth0Ambassador • Organizer at AngularHive community • Speaker • Blogger

## Responses 1

Markdown supported · ⌘↵ to post

[Vignesh M](https://hashnode.com/@ShivEnigma)

[Jul 9, 2021](https://hashnode.com/posts/how-to-use-template-reference-variable-in-parent-child-components-interaction/60e748e43dc33f032e23be34/comment/60e7eb983dc33f032e23c76a)

This is a good article Udhay. I'm always afraid of accessing template references this way to child components. Not for any particular reason. Do you think this will be problematic in any case?

[Udhayakumar Govindarajan](https://hashnode.com/@askudhay)

[Jul 15, 2021](https://hashnode.com/posts/how-to-use-template-reference-variable-in-parent-child-components-interaction/60e748e43dc33f032e23be34/comment/60e7eb983dc33f032e23c76a#reply-60f08c6b303c5845ab8c9ef9)

I missed your comment somehow. Sorry about that.

I don't think so it is problematic when we use template reference as long as we care about what can be exposed in Component class.
