alrightsure
alrightsure
Explore posts from servers
SSolidJS
Created by alrightsure on 9/5/2024 in #support
Top level "use server" doesn't seem to work
ahhh ok. thanks!
6 replies
SSolidJS
Created by alrightsure on 5/18/2023 in #support
useRouteData empty on HMR
Bump. Still haven’t solved this. Don’t want to file an issue as it’s probably just something I’m misunderstanding
3 replies
SSolidJS
Created by alrightsure on 1/27/2023 in #support
Calling database with server actions in Solid Start
Awesome! I understand the docs (and solid start) are very much in-development so I’m happy even having this much to go off of, I think I was just overthinking the wording.
8 replies
SSolidJS
Created by alrightsure on 1/27/2023 in #support
Calling database with server actions in Solid Start
I appreciate the responses! I think I was just worried there was something specifically with the actions that was considered a bad practice, but I am pretty sure I am in the camp that likes the idea of consolidated code in one spot. Will definitely try it out and see how I like it!
8 replies
SSolidJS
Created by alrightsure on 1/27/2023 in #support
Calling database with server actions in Solid Start
I guess I’m aware of the philosophy, I’m more confused on why it would mention it specifically for the actions, but then on the API page it seems to take a stance that it DB calls should be used in the same file: “While we think that using createServerData$ is the best way to write server-side code for data needed by your UI, sometimes you need to expose API routes.”
8 replies