SolidJSS
SolidJSโ€ข4y agoโ€ข
10 replies
binajmen

How to retrieve params in `createServerAction$`?

Is there a clever way to retrieve the params in a createServerAction$ besides passing it as a parameter or FormData attribute?
  const [create, { Form }] = createServerAction$(async (formData: FormData) => {
    ...
  });
Was this page helpful?