You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
solid-query 4.20.2 and 4.20.4 fail to set queryClient in dev mode with vite #4673
Thank you so much for the thorough reproduction. I am still working on this and just posting this as an update. Building the library locally and using the build from the local server, The library works as expected. I published @adeora/solid-query with the exact same code to npm and I am getting the exact issue again. On first look, I'm thinking this is an issue somewhere where vite cannot correctly resolve the package. I'll keep you posted on my findings.
Update: I was able to create a minimal reproduction of this issue without any Tanstack query code and issue still persists. It seems like something maybe vite-plugin-solid cannot resolve correctly. More detailed explanation in the issue here on how to recreate the issue solidjs/solid-vite-plugin#80. Hopefully we shall hear back soon! If not, I'll just revert the changes back to the older version for now. I apologize for all the inconvenience caused here 😭
Activity
TkDodo commentedon Dec 23, 2022
@ardeora fyi
ardeora commentedon Dec 23, 2022
Thanks! I'm taking a look at this.
tsujp commentedon Dec 28, 2022
For the sake of reproducibility I get this also with both the latest Deno and Nodejs. On macOS and Firefox.
ardeora commentedon Dec 29, 2022
Thank you so much for the thorough reproduction. I am still working on this and just posting this as an update. Building the library locally and using the build from the local server, The library works as expected. I published
@adeora/solid-querywith the exact same code to npm and I am getting the exact issue again. On first look, I'm thinking this is an issue somewhere where vite cannot correctly resolve the package. I'll keep you posted on my findings.ardeora commentedon Dec 29, 2022
Update: I was able to create a minimal reproduction of this issue without any Tanstack query code and issue still persists. It seems like something maybe
vite-plugin-solidcannot resolve correctly. More detailed explanation in the issue here on how to recreate the issue solidjs/solid-vite-plugin#80. Hopefully we shall hear back soon! If not, I'll just revert the changes back to the older version for now. I apologize for all the inconvenience caused here 😭thetarnav commentedon Feb 2, 2023
this might be related thisbeyond/solid-dnd#78
TkDodo commentedon Aug 29, 2023
I'll close this issue because a) it's an upstream issue and b) I think @ardeora has reverted the change