DEV Community

Discussion on: How copy and move the component in React?

Collapse
 
dance2die profile image
Sung M. Kim

It looks like you want to have a central location to have states be passed around between components.

It means you can research, which Application Statement Management you want to choose.

The link shows how to do so with React Context API, but as the site gets better, you might want to check out Redux or MobX.

Collapse
 
sunildora94 profile image
Sunil Dora

Can you please create an example or can give any link that already shows how to copy a component from one component to another component? It would be great if you can do it for me.

Thanks for giving the answer.