Setting up a new project I got this error:
Error: <A> and 'use' router primitives can be only used inside a Route.
The stack trace referenced @solidjs/router 0.15.4 instead of the 0.16.2 I had in my package.json so I concluded there was a mismatch in dependency version requirements, so I changed package.json to list 0.15.4 and now it works without errors.
Setting up a new project I got this error:
The stack trace referenced
@solidjs/router0.15.4instead of the0.16.2I had in mypackage.jsonso I concluded there was a mismatch in dependency version requirements, so I changedpackage.jsonto list0.15.4and now it works without errors.