---
title: "LoadModule"
source: "https://github.com/remix-run/remix/blob/8905f3943706e1f53696ab83e70a84873cabfc90/packages/component/src/runtime/frame.ts#L111"
---

# LoadModule

## Summary

Loads a named client-entry export for hydration.

Module specifiers from trusted document metadata are passed through unchanged. The loader
controls resolution, including import maps, CDN URLs, and development server URLs.

## Signature

```ts
type LoadModule = (moduleUrl: string, exportName: string) => Promise<Function> | Function

```