Cyber Grandma
Explore posts from serversSSR failed to import "drizzle-orm/bun-sqlite"
Hi, here's the error I get
I am not sure if I should post this here or in Drizzle server but it seems more like an issue with vite. I've used drizzle successfully in other solid projects so I don't know what is specific here.
2 replies
Submission not reactive in JSX ?
Hi,
I'm making a login form as such:
As usual I want to disable the login button while the login action is running. I created the
disabled
signal for that that just checks if the submission
is pending. But for some reason it doesn't update the page but still triggers the createEffect. Am I missing something ?3 replies
SolidStart layout shifts using createAsync
Hi, I found out that I experience layout shifts whenever a createAsync is re-triggered.
For example here:
I have a "middle div" colored in red here. Whenever I change one of the params (such as page or search filters), the createAsync is retriggered. But while it does that the middle part (in red) disappears for a split second and the page is re-scrolled back up. This makes using the pagination very obnoxious. Has anyone ever experienced that ? I don't understand why in this case it is needed for Solid to re-render the whole div each time.
31 replies
vite:css and postcss creating errors on SSR ?
Hi, I'm trying to start my solid-start project on another compute but I can't get it to work. I get this weird postcss error during SSR. And I'm using Devcontainers to reproduce my development environment, so I'm even more dazzled that it works on one compute and not on the other lol. Anyone has ever seen this error ?
2 replies
onClick function not rendered in the DOM ?
Hi, I'm trying to make a togglable filter list.
I use the For element to loop over my list of filters and create a button for each.
The issue I have is that the 'onClick' doesn't run and doesn't appear in the HTML. Here is what I get in the inspector:
I am new to solid, I'm sorry if this is ends up being a really dumb issue on my part. But currently I'm scratching my head very hard about this onClick
7 replies