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