-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
Description
Is there currently a way to read query parameters from the route? For instance, if RouteConfig is configured with { path: '/articles/:id', as: 'article', component: Article } and the user navigates in the browser to
http://localhost:3000/articles/someId?sort=ASC&page=2
how do I get access to the value of "sort" and "page"? Will this be supported in the router?
(N.B. I can get id: "someId" through routeParams without a problem but I would like the query params. I see bits to generate queryParams and a "routeRecognizer" class, but no public methods..)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels