Skip to content

[Feature Request] clientLoader 如何得到url中的参数 #13168

@deng-yc

Description

@deng-yc

Background

使用clientLoader的时候,不知道怎么优雅的获取url上的参数

Proposal

export function clientLoader({ params }){
    const id=params.id;
    ....
}

Additional context

Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions