-
-
Save FlorianRappl/03e2a8156ead47f1370e01bba4b48b2e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// microfrontend A | |
window.subscribe('mife-a', msg => { | |
//handle message; | |
}); | |
// microfrontend B | |
window.publish('mife-a', { | |
type: 'show_dialog', | |
name: 'close_file' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment