import { json } from "remix";
      
      export const loader = async () => {
        return json(data);
      };
      Typescript language logo
      your recipe card header background

      Loader

      Remix TypeScript public recipes

      The loader exports an async function that returns a JavaScript object. This object contains a property called data, which is a JSON object.

      Library: remix

      Shortcut: remix.loader.json

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.