Class DefaultResolver<Attrs, Comp, RouteArgs>

Generates a route resolver for a given component.

In addition to regular route resolver functionality:

  • It provide the current route name as an attr
  • It sets a key on the component so a rerender will be triggered on route change.

Type Parameters

Hierarchy

Implements

Constructors

Properties

Methods

Constructors

Properties

component: NewComponent<Comp> | AsyncNewComponent<Comp>
routeName: string

Methods

Generated using TypeDoc v0.24.8