duckstape
How should useCurrentMatches work?
For anyone tracking this issue: https://github.com/solidjs/solid-router/issues/528
5 replies
The requested module 'solid-js/web' does not provide an export named 'use'
Any updates on this? I'm also trying to use solid in a monorepo setup and also got the same error when trying to consume my compiled component package. At some point I gave up and now I'm using my package directly, without a compile step. But I think this prevents me from caching the component package and therefore keeps me from speeding up my main build step.
5 replies
SolidStart clientside routing issue
I've come to find, that a root layout with
(root).tsx
does not work for me either. Try instead to use the Layout component in your app.tsx in the root prop of <Router/>
(where you have <Suspense>{props.children}</Suspense>
) . I think this is because the <FileRoutes/>
is inside the the <Router/>
, so logically the file router does not have access to the root prop of the Router.8 replies
How should useCurrentMatches work?
I did that, without success. I reproduced my setup in this stackblitz:
https://stackblitz.com/edit/github-grada5-8t8kru5v?file=README.md
5 replies