Deploy
Hi everyone
I'm deplyong my first solid start website, but the data seems to be static. I change it on the Sanity CMS, but when I come to the page the data remains the same.
Any idea how to solve it?
81 Replies
And I'm seeing
Error | Uncaught Client Exception
Can anyone please help me? 🙏I think it's realted with iconify, but why?
Relevant code?
It's my entire home page
I'm trying to deploy it on render.com and on my vps with coolify
but isn't fetching the data
it's always static
I update the data, and keeps showing the old data 😦
I'm using the icons for buttons etc
no idea how to solve it
and how to use the new data instead of the old data
Anyone can help me please? 😦
Send the code on how you data fetch
I disable the SSR and seems to works
For home page:
The only problem I'm facing is this error with iconify (with SSR disable)
with SSR disable the data updates when I change it on sanity, but the iconify error keeps appearing and I don't know how to solve it 😦
I'm totally desesperated, I need to deploy this today 😦
do you ever invalidate the getHome cache?
or do you mean it doesn't happen even on reload?
how are you using iconify btw? unocss?
No, I installed
@iconify/solid
How I can do that?
It's appearing on reload and hard reloadLet me send some docs
does sanity have some websocket thingy that tells you when it's updated?
if yes, you need to run this when that happens
I think not, but if I refresh the page the data now appears to be ok
the problem is only that error on
getComputedStyle
maybe try unocss to use iconify icons? that usually works for my solid start app
I'm using tailwindcss
UnoCSS
The instant on-demand Atomic CSS engine