import { ActionFunction } from "remix";
      
      export const action: ActionFunction = async ({ request }) => {
        const formData = await request.formData();
      };
      

      Typescript language logoCreate ActionFunction

      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.

      Shortcut: remix.actionfunction.create

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.