I installed react-router-dom (6.5.0) among the dependencies of my project, but when I want to import the hooks, it doesn't show anything from the dependency.
I don't have anything strange configured, using Vite and js. If I copy and paste something like import {useNavigation} from 'react-router-dom' the entire screen goes blank (the background is gray). I tried installing a previous version, installing and uninstalling several times, including npm, but nothing changes.
I leave screens.
Top comments (1)
Send the GitHub repo url of this project