S
SolidJS3mo ago
Minoo

"<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
No description
1 Reply
Birk Skyum
Birk Skyum3mo ago
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