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