You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same issue here as well. I'm experiencing the same error as #322 where I validated in my code that LinkContainer was indeed within the component. I tried to use a fork of this repository where the above fix was applied, but with react-router v7.5.x it still failed with the same response. My fix was to downgrade react-router-dom to v6.16.0 which is what I was using in my old code branch before I embarked on this whole Node.JS module refresh effort.
It a simple matter to make a version of this library with react router v7.
basically, its change the peer dependency from react-router-dom to react-router
and import that at the top of LinkContainer.js, as in:
import { useHref, useLocation, useMatch, useNavigate } from 'react-router';
everything else seems to work just fine. Two reasons why I didn't submit this as a PR were:
maybe publish a variant?
The text was updated successfully, but these errors were encountered: