Create ActionFunction



    Jose Romero

    Remix TypeScript public recipes

    The above code imports the ActionFunction constructor and exports an action function that accepts an empty request object and returns a formData object.

    Library: remix

    Shortcut: remix.actionfunction.create

    import { ActionFunction } from "remix";
    export const action: ActionFunction = async ({ request }) => {
      const formData = await request.formData();
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.