How to stop a component from recursively showing up in react Typescript
I have a parent component Form that has a button where on user click, it will display a child component MyWindow. The MyWindow component also has the Form component so the button will appear in MyWindow as well. How can I stop the Button from displaying in MyWindow when it’s open? I only want the… Read More How to stop a component from recursively showing up in react Typescript