Skip to content

Latest commit

 

History

History

getting-started

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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