I have a parent component that I want to use to dynamically add and remove an stateful component, but something weird is happening.
This is my parent component and how I