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.
From the root of the repository, run the following command:
pnpm --filter example-getting-started start