Skip to content

Files

getting-started

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 29, 2024
Feb 24, 2025
Jan 29, 2024
Feb 24, 2025
Feb 4, 2024

Getting started example

This example shows the simplest setup using Remote DOM. It creates an iframe element to serve as the “remote” sandbox. In that sandbox, it only renders text, which it communicates manually to the parent document through postMessage().

For a more complete example that shows more of Remote DOM’s capabilities, check out the custom element example next.

Running this example

From the root of the repository, run the following command:

pnpm --filter example-getting-started start