-
Notifications
You must be signed in to change notification settings - Fork 27.2k
Closed
Labels
breaking changeseffort2: daysrefactoringIssue that involves refactoring or code-cleanupIssue that involves refactoring or code-cleanup
Description
ng
.platform([Cookies])
.createApp([bind(ExceptionHandler).toClass(MyExceptionHandler])
.loadComponent(MyComponet, [bind(MySerivice].toClass(MyService)]
class Platform {
dispose()
}
class Application {
componentRef:ComponentRef;
dispose();
whenReady() {
}
}
class ComponentRef {
dispose()
}
bootstrap(Type, cmpBind, appBind, pltformBind):Application {
var platform = Platform.create(pltformBind);
var app = platform.createApp(appBind);
var componentRef = app.loadComponent(ComponentRef);
return app;
}
bootstrap(MyApp).whenReady((rootComponent) {
rootComponent.init();
});Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breaking changeseffort2: daysrefactoringIssue that involves refactoring or code-cleanupIssue that involves refactoring or code-cleanup