-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EventEmmitter with microfrontends #240
Comments
Hi, I'll need more details on how When dealing with iframes, you should consider making use of window.postMessage for sending events between them. |
Hi. yes i've declared
|
So the problem here is that each EventEmitter is separate and they don't send each other events. What you'll need to do is add an I'd suggest looking around to see if there's maybe a library out there already that sends events between iframes in the way you'd want. There's a lot of stuff that can go wrong when implementing something like this, and EventEmitter2 isn't exactly geared towards this use case. |
Hi,
Please assist, trying to use event emitter2 with the micro-frontend architecture (spa). Currently have 5 angular applications which run on the same page. On the parent application we create
parent application (in a different iframe)
on child applications (in a different iframe)
does not seem to work. Is there something i am doing wrong?
The text was updated successfully, but these errors were encountered: