({
serverLoader,
}: ClientLoaderFunctionArgs)
| 99 | }; |
| 100 | |
| 101 | export const clientLoader = async ({ |
| 102 | serverLoader, |
| 103 | }: ClientLoaderFunctionArgs) => { |
| 104 | const loaderData = await serverLoader<LoaderData>(); |
| 105 | await docsContentLoader.preload(loaderData.path); |
| 106 | return loaderData; |
| 107 | }; |
| 108 | |
| 109 | clientLoader.hydrate = true; |
| 110 |
nothing calls this directly
no outgoing calls
no test coverage detected