0
0
JRJose Romero
Create a loader function that returns json data.
Library: remix
Shortcut: remix.loader.json
import { json } from "remix";
export const loader = async () => {
return json(myObject);
};
0
0
JRJose Romero
Create a loader function that returns json data.
Library: remix
Shortcut: remix.loader.json
import { json } from "remix";
export const loader = async () => {
return json(myObject);
};