Skip to content

Type of RouteLocation['params'] incorrect #5343

@blakeley

Description

@blakeley

https://github.com/BuilderIO/qwik/blob/374f25e7c2759651cffa652f2bd16241e53c9c24/packages/qwik-city/runtime/src/types.ts#L65

When navigating with a <Link>, params used on the page can temporarily be undefined. Navigation should either not render the current page with the next route's param values, or the type of params should be changed to be

    readonly params: Readonly<Record<string, string | undefined>>;

Metadata

Metadata

Assignees

No one assigned

    Labels

    COMMUNITY: good first issueGood for newcomersCOMMUNITY: PR is welcomedWe think it's a good feature to have but would love for the community to help with the PR for it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions