Skip to content

mvolkmann/iframe-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

websocket-demo

This demonstrates using cross-document messaging to communicate between an Angular app and two React apps embedded inside it using iframes. The Angular app was created using the Angular CLI. The React app was created using create-react-app.

To run this:

  1. open a terminal

  2. cd child-app (hosts a React app)

  3. npm install

  4. npm run start

  5. close the browser window that opens to localhost:3000

  6. open a terminal

  7. cd parent-app (hosts an Angular app)

  8. npm install

  9. npm run start

  10. browse localhost:4200

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published