const addOneComponent = () => {
setComponents([...components, <Component/>]);
};
onClick={(comp) => {
props.removeThisComponent(comp);
}}}
removeThisComponent={() => removeComponent(comp)}
console.log(setComponents(components.filter((p)=> p !== comp )))
setComponents(components.filter((p)=> console.log(p) ))
$$typeof:: Symbol(React.elem), key:null