0
0
JRJose Romero
Loader that takes take from an external API
Library: remix
Shortcut: remix.loader.api
import { json } from "remix";
export async function loader() {
const res = await fetch("https://path/to/endpoint");
return json(await res.json());
}