Router react Link code example
Example 1: react router Link does work
import { Link } from 'react-router-dom';
Example 2: Link react router
<Link to="/about">About</Link>
Example 3: react router link
import React from "react";
import ReactDOM from "react-dom";
import { createBrowserHistory } from "history";
const customHistory = createBrowserHistory();
ReactDOM.render(<Router history={customHistory} />, node);