Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const isReady = () => {
const factory = componentFactoryResolver.resolveComponentFactory(
EventDemoComponent
);
outletService.add('cx-storefront', factory, OutletPosition.BEFORE);
};
return isReady;