MCPcopy Create free account
hub / github.com/code-forge-io/remix-client-cache / createClientLoaderCache

Function createClientLoaderCache

src/index.tsx:165–171  ·  view source on GitHub ↗
(
  props?: CacheClientLoaderArgs,
)

Source from the content-addressed store, hash-verified

163 serverLoader: () => unknown;
164}
165export const createClientLoaderCache = <U extends ClientLoaderFunctionArgs>(
166 props?: CacheClientLoaderArgs,
167) => {
168 const clientLoader = (args: U) => cacheClientLoader<U>(args, props);
169 clientLoader.hydrate = true;
170 return clientLoader;
171};
172
173interface CachedLoaderDataProps {
174 adapter?: CacheAdapter;

Callers 1

_index.tsxFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected