SkyLissh
SkyLissh
Explore posts from servers
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
I think I didn't understand at first because every other framework by the default waits the page, and only do partially pre-rendering when you specify to do so
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
So by default solidjs use something like partial pre rendering in nextjs, instead of waiting for the data called in the queries?
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
I made the same example with node: 22.13.1 and pnpm: 10.8.0
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
But in the network tab you receive a pre rendered page?
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
No description
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
@peerreynders Well I think it would be much easier if I provide all the code, so here's my repo with all the stuff I trying to do https://github.com/SkyLissh/skylet-discord-dashboard/tree/feature/auth
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
The only thing I can imagine is messing up with the SSR is the paraglidemiddleware
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
It al;so happens in prod, but it's kinda weird, because, it feels like I'm getting a server renderd page in time, but the response is a blank page
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
I will make a build to check if it works properly in prod, and if the error is only in dev
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
and previous to the change it was pre rendering whe using only that query
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
I didn't check but with the refactor for session I made yesterday, know it also returns a blank page when using only the session query
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
Idk if it could be affecting, but in the project I'm using bun as a package manager and for running the commands I se bun dev as fas as I know bun uses nodefor running vite
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
Yup, when I console.log in the server function the data returned by the fetch looks good, and returns pretty fast, idk why in the Page it takes more time
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
And I didn't understand the part of showing only the number of record, what do you mean, making the request but instead of returning the objects just the length of the array?
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
As far as I tested, the only thing that affects the loading page was the fetch, removing v alibot for example didn't change the result, only when I was removing the fetch
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
Oh, I misunderstood the use, I tought Index was for index that doesn't reorder usually, and For for like reorderable lists or lists that tends to change frequently
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
The doc examples should mention that somewhere
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
Weird, the last time I checked it worked different
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
The last time I checked in a toy example, it didn't matter how much time the query took to return, the page didn't load until it was resolved
58 replies
SSolidJS
Created by SkyLissh on 4/11/2025 in #support
SSR blank page
I try it and yes, it holds the response until it fetches, whys is that?
58 replies