Erik
Erik
SSolidJS
Created by Erik on 6/20/2024 in #support
How to opt-out of re-triggering page-level resources after server action invocation
@peerreynders thank you! Unfortunately the page resources still re-run when I have:
const runServerAction = action(async (data: unknown) => {
"use server";
console.log(data);
return reload({revalidate: []})
}, "server-action");
const runServerAction = action(async (data: unknown) => {
"use server";
console.log(data);
return reload({revalidate: []})
}, "server-action");
3 replies
SSolidJS
Created by Erik on 1/23/2024 in #support
createResource does not trigger suspense when its first-argument signal changes
@foolswisdom Exactly, I'm not seeing the fallback. I'm logging data() in a createEffect, I'm seeing undefined and when I open the modal, it switches to the data returned by the server after some delay, but suspense is not triggered/no loading fallback.
8 replies