That is, I have a set of some pre-created components on react, and I need to make for them a common store, where information about each component (shown or hidden, etc.) and the component `
[ {name: 'FirstComponent', comp: <First />, isOpen: true }, {name: 'SecondComponent', comp: <Second />, isOpen: false } ] `
And only then work with them in the main component.