"<A> and 'use' router primitives can be only used inside a Route." When testing component in router
I receieve this error when trying to test a component. The component is inside another component that has a route
1 Reply
It's impossible to debug without seeing the code
When I've hit this, it's typically been a call to useParams or useSearchParams outside of the routes