NavHashLink and HashLink need to forward React refs properly. This will enable libraries like Material UI and React Router to be used properly with react-router-hash-link. For an example of where such behavior is needed, see this demo. The Material UI ListItem needs a ref to the root element provided by NavLink so it can focus it (as you can see from the source code).
NavHashLink and HashLink need to forward React refs properly. This will enable libraries like Material UI and React Router to be used properly with react-router-hash-link. For an example of where such behavior is needed, see this demo. The Material UI ListItem needs a ref to the root element provided by NavLink so it can focus it (as you can see from the source code).