Skip to content

Export both View and Link component #1534

Closed
@roman-vanesyan

Description

@roman-vanesyan

What problem does this feature solve?

It discovers the way to developers to define additional features on top of existing router's component. For example, that way I can create something like next's prefetch feature on top of router's router-link component, and then simply override the default one with mine, without introducing a new component.

What does the proposed API look like?

export default Router;
export RouterLink;
export RouterView;

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions