MCPcopy Create free account
hub / github.com/fontsource/fontsource / clientLoader

Function clientLoader

website/app/routes/docs.$.tsx:101–107  ·  view source on GitHub ↗
({
	serverLoader,
}: ClientLoaderFunctionArgs)

Source from the content-addressed store, hash-verified

99};
100
101export const clientLoader = async ({
102 serverLoader,
103}: ClientLoaderFunctionArgs) => {
104 const loaderData = await serverLoader<LoaderData>();
105 await docsContentLoader.preload(loaderData.path);
106 return loaderData;
107};
108
109clientLoader.hydrate = true;
110

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected