Skip to content

Bootstrap complexity creep due to ROUTER_PRIMARY_COMPONENT #4318

@IgorMinar

Description

@IgorMinar

With the recent platform/bootstrap refactoring we now added a requirement for people to bind the primary component during bootstrap:

 bootstrap(AppCmp, [
   ROUTER_BINDINGS,
   bind(ROUTER_PRIMARY_COMPONENT).toValue(AppCmp)
  ]);

Since 99% of applications will not utilize the multiple app feature which this api change enables, we are making the bootstrapping significantly more complicated for the majority of our developers.

Can we consider creating a special bootstrap entry point for multi-app apps, while keeping the normal boostrap simple for common use-cases?

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions