import { json } from "remix";
      
      export async function loader() {
        const res = await fetch("https://path/to/endpoint");
        return json(await res.json());
      }
      Javascript language logo
      your recipe card header background

      Loader external data

      0

      0

      avatar
      Jose Romero
      Remix JavaScript public recipes

      Loader that takes take from an external API

      Library: remix

      Shortcut: remix.loader.api

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.