pilcrow
pilcrow
SSolidJS
Created by pilcrow on 8/7/2023 in #support
How to throw errors in `createRouteAction()` and `createServerAction$()`?
Am I supposed to throw new Error(), return an error Response, or...?
5 replies
SSolidJS
Created by pilcrow on 11/30/2022 in #support
Is there a way to set cookies on page load?
Do I need to call and endpoint just to do that, or is there something I can do with routeData/createServerData? Even better, is there a middleware-like thing that can access the response? Would like to store functions inside request.locals (if that even exists).
4 replies