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