react router link not working code example Example: react router Link does work import { Link } from 'react-router-dom';