Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 878 Bytes

File metadata and controls

15 lines (9 loc) · 878 Bytes

Basic One-Way Example

This example demos host and remote applications running in isolation with two different React versions and no shared libraries

  • app1 is the host application using one version of React and ReactDOM.
  • app2 is the guest application using a different version of React and ReactDOM. It exposes an injector function which lets the host application (app1) import it and inject it into a div element.

Running Demo

Run yarn start. This will build and serve both app1 and app2 on ports 3001 and 3002 respectively.