T
TanStack2y ago
correct-apricot

Is useNavigate available in components set by InnerWrap?

When we try to access the useNavigate hook in an InnerWrap component we get:
Uncaught TypeError: Cannot read properties of undefined (reading 'routeId')
Uncaught TypeError: Cannot read properties of undefined (reading 'routeId')
useRouterState appears to work fine.
1 Reply
adverse-sapphire
adverse-sapphire2y ago
This might be an artificial limitation. I’ll explore it asap

Did you find this page helpful?