Eric
Solid Start Navigation
Hi,
I've got a Solid Start page, and want to navigate to a different page within a component.
I basically do the following:
I have also tried not passing
replace: true
, doesnt change anything though.
The issue I have is this:
The URL changes, as well as the history. But the page content doesn't change, only when I refresh the page.
I guess this has something to do with navigating to the same page essentially, just with different params.
What's the correct way of handeling a navigation like this?
Thanks!
I dont really think it's necessary, but this is what my [provider]/[mensa]/[date].tsx looks like
6 replies
Generating Client Only code for static deployment
Hey people,
I’m trying to build my solid start app for client use only. We’ve got an ordinary, no bells and whistles, webspace. And my goal is to deploy the solid start app to there. However, I’m not quite sure how to do that.
Both when building with the default adapter and SSR turned off, and with the solid-start-static adapter, I only get "server" code.
Also, it confuses me that SSR needs to be turned on for solid start static? I guess that makes sense because it needs to be rendered on the server in order to generate the static files.
I don’t even know if I need a static export? There is quite a lot of code expected to run at runtime, and not a lot of static elements.
Btw, it was already surprisingly difficult to figure out there even is solid-start-static, and 2) to find it, as in the docs it’s only referred to as »Static Hosting«
Do you guys have recommendations on what to do?
16 replies
Solid Start not deploying on vercel in turborepo
Hi all,
my solid start project doesn't deploy to vercel, aka every build fails.
There are no error's though, the build fails, because the deployment duration takes over 45 minutes.
There are 0 errors in the output log, and the output ends with the following
3 replies
SSR in Turbo Repo
Hi you all,
I've recently converted 2 solid start projects of mine in a single turborepo
Since doint that, I'm not able to use SSR anymore.
No matter on what page I navigate, I'm prompted with this error:
An error occured while server rendering /:
Interestingly, as soon as I disable in my vite.config.ts
everything works. Except ssr of course.
Funnily enough, when I try to deploy on vercel without SSR, I get the exact from last year (https://github.com/solidjs/solid-start/issues/383) except that it should have been fixed already. (I'm on 0.2.30)
1 replies