Closed
Description
Version: 4.0.0-beta.3
Currently, Route and withRouter merges all router properties with component props. This includes 11 fairly generically named properties: action, block, createHref, go, goBack, goForward, length, listen, location, push, replace. It seems unnecessary to pollute props like this.
I propose router properties should remain under a single router
context rather than spreading all the properties into component props.
Metadata
Metadata
Assignees
Labels
No labels