DEV Community

jayanthbondi
jayanthbondi

Posted on

Use the shared component reference

Hi Team,
I have a requirement where I have to render Component A twice in the Container, one at the top and one at the bottom.
Both the components should be in sync , changes made at one place should be reflected at other place.
Is there any approach to do it, without lifting the state up?

Image description

Top comments (0)

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay