react-router-redux icon indicating copy to clipboard operation
react-router-redux copied to clipboard

passing params from react-router

Open adhsu opened this issue 10 years ago • 2 comments

It would be extremely useful to have the 'params' prop that's injected by react-router into the components also stored in redux. Is there any reason this shouldn't happen?

adhsu avatar Jan 29 '16 22:01 adhsu

That is part of the router, which we don't touch directly. They're made available on your route components already via this.props.params

timdorr avatar Jan 30 '16 19:01 timdorr

@adhsu totally doable, checkout issue #297

leidegre avatar Feb 23 '16 18:02 leidegre