Raqueebuddin Aziz
createAsync not updating UI on client
the
decryptWithUserKeys
function is set so that it will return the input if running on server but on client it decrypts the data, the console.log
confirms that the function is running and the data is decrypted but the UI never get's update on first load aka ssr load29 replies
is solid-start dev server broken?
I have been dealing this for quite a while, sometimes in dev solidstart would just not load components that were imported in the root layout passed to router. I would need to do multiple hard refreshes or restart the dev server. the component body always run but no render happened or any effects inside the body run.
build has no such issues and it always loads all components correctly
repo for reference: https://github.com/vanillacode314/kanban
I am using pnpm
5 replies
server functions and ssr, how to get client headers during ssr when calling server functions
I need to get a token from the cookie, everything works greatly as long as the client is calling the server functions but if ssr is triggered and the server makes the calls then the headers are not forwared, what is the best way to achieve this?
1 replies
what does returning an error from a server function do? I don't see it in the console anywhere.
I see the documentation recommends returning an error instead of throwing it, what does that do actually? where can I see the error? how can I handle the error on the client and show a toast or something else
9 replies
is "use server" necessary for form actions in solid start?
the documentation doesn't include "use server" but I couldn't get it to work without that directive. Just trying to figure out if it is a bug or intended and the documentation needs to be updated
10 replies
How to update nested store values such that it triggers updates
I have a store with the shape IUserState. Now I want to update some projectGroup to add a new project to it. How can I achieve this so that updates are triggered?
I tried this, it does update the store but doesn't trigger updates.
Thanks for any assitance 🙂
5 replies