Including solidjs router creates multiple instances of solid
I'm trying to add
Removing
My imports look like this:
I had a hunch it was a peer-dependency issue, since
Also relevant to note that I'm using vite with vite-plugin-solid and pnpm.
Any idea what I could be doing wrong here?
@solidjs/router to a project. But as soon as I import it and add the minimal setup, I get the following warning in my browser console: Removing
@solidjs/router resolves the issue.My imports look like this:
I had a hunch it was a peer-dependency issue, since
@solidjs/router specifies solidjs@1.5.3 while I had solidjs@1.6.5 installed, but downgrading to 1.5.3 didn't end up fixing this issue.Also relevant to note that I'm using vite with vite-plugin-solid and pnpm.
Any idea what I could be doing wrong here?
