Closed armandsalle closed 1 year ago
Sorry I just understand my mistake...
createEffect(() => {
console.log(secret.data)
})
Yes, this isn't react so my log was printed once even if it refetches because the data never changed 🤣
I'm so sorry about the PR
Hey! First of all, thank you for your template 🙌
I think this is more related to the tRPC + Tanstack Query adapter for solid, but in your doc for
solid-trpc
here it shows how to use theenabled
property with a get method. I tried it but I got a TS error and a runtime error.So from this that doesn't work
I did that, and it's working great
The only issue I found is that
refetchOnWindowFocus: true,
doesn't work... I didn't found anything about why, maybe you know? Or maybe this stack is not bullet proof or so for side projects? 🤷♂️Thank's in advance 🙌