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

RRN <Link to> support for location object

Open FreddieRidell opened this issue 9 years ago • 2 comments

Version: 4.0.0-beta.4

Native links function fine using object style to props, could the propTypes be changed to reflect this, if this is allowable behaviour?

I'll make a PR if you're accepting them

FreddieRidell avatar Feb 06 '17 19:02 FreddieRidell

Yes, @CodogoFreddie, RRN's <Link to> should support location objects. If you'd like to add support, be my guest :)

mjackson avatar Feb 07 '17 07:02 mjackson

done: https://github.com/ReactTraining/react-router/pull/4483 🔗 👍

FreddieRidell avatar Feb 07 '17 10:02 FreddieRidell