---
title: "Discussion on \"Manipulate child state from parent in React.\" | Hashnode"
description: "Discussion on \"Manipulate child state from parent in React.\". Using refs we can invoke methods of child components from a parent in both class components as well as in functional components. This is just a workaround, recommended way is to lift the state up to the parent and then pass it through props to the ch..."
url: "https://hashnode.com/posts/manipulate-child-state-from-parent-in-react-4fc4a3edd38c/63d521bac1957326b40350e7"
---

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

Discussion

# [Manipulate child state from parent in React.](https://jayhawk24.hashnode.dev/manipulate-child-state-from-parent-in-react-4fc4a3edd38c?utm_source=hashnode&utm_medium=feed)

Using refs we can invoke methods of child components from a parent in both class components as well as in functional components. This is just a workaround, recommended way is to lift the state up to the parent and then pass it through props to the ch...

Jan 8, 2023 · 2 min read · jayhawk24.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#react-native](https://hashnode.com/tag/react-native)

## Written by

[Anubhav Gupta](https://hashnode.com/@jayhawk24)

@jayhawk24

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

✈️Travelaholic. 🐱💻 WebDev fanatic. Hardcore hacker.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
