react-router-dom <Link/> is clearing the {history,match,location} props when clicked in ssr application
问题 I could not implement the Link component in server-side rendering. <Link to={`/edit/${id}`}> <h3>{description}</h3> </Link> In /edit page, I have this line of code to test the props that passed: <h1>{props.match.params.id}</h1> this throws an error because match prop is not passed. If I used <a></a> instead of <Link/> wrapped /edit page with withRouter I get those props however this time I am disconnected from the store. Since <Link/> navigates inside react-router looks like props that passed