Creators

Name

Type

Args

Return Type

<R = any, C = any>

routes, nameOptions

Notes<R, C>

<R = any, C = any>

routes, { key, nearby, routeName }

Unit<R & C>

<R = any, C = any>

routes, { key, nearby, routeName }

Connector<R & C>

Creates a route note unit. It uses internally by createRoot / createFeature

Generic Type:

<R = any, C = any>

Args:

(
  routes: Route[],
  nameOptions: DefaultNameOptions = {}
)

Return Type:

Notes<R, C>

Creates the root unit and invokes only once to initialize a hub.

Generic Type:

Args:

Return Type:

Usage example:

Invokes once for each feature (eager/lazy) module.

Generic Type:

Args:

Return Type:

Usage example:

Last updated

Was this helpful?