your recipe card header background

    Loader external data



    Jose Romero

    Remix TypeScript public recipes

    The loader() function fetches the GitHub Gist API and returns the JSON response.

    Library: remix

    Shortcut: remix.loader.external_api

    import { json } from "remix";
    export async function loader() {
      const res = await fetch("");
      return json(await res.json());
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.