-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Closed
Description
The documentation around where query params are located in props is a bit confusing. The README mentions // route components are rendered with useful information, like URL params
and then right below there's a line using this.props.userId
. The UPGRADE_GUIDE documentation mentions this.props.query
(inferred from the table in the "State mixin" section). The "query-params" example uses this.props.location.query
to locate params. And so I'm pretty sure that's what I need to use.
It would be good to get some better documentation around how to use query params. It's also likely I've missed something in the docs. The google index is probably not completely up to date given that v1.0.0 is fairly new.
Metadata
Metadata
Assignees
Labels
No labels