Javascript web components store, which holds all the components and triggers them based on the external input.
const storeComponents = new StoreComponents();
storeComponents.registerComponent([name], [function]);
storeComponents.initComponents([array of components {name: '', type: ''}]);
storeComponents.showLogs();
const Greeting = () => {
console.log('Hello world!')
}
const storeComponents = new StoreComponents();
storeComponents.registerComponent('Home', Greeting);
storeComponents.initComponents([{name: 'Home', type: null}]);