Skip to content

Tag: react-router

How to manually invoke Link in React-router?

I have a component that receives through props a <Link/> object from react-router. Whenever the user clicks on a ‘next’ button inside this component I want to invoke <Link/> object manually. Right now, I’m using refs to access the backing instance and manually clicking on the &#8…