Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 562 Bytes

File metadata and controls

13 lines (8 loc) · 562 Bytes

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