gnaeus / prefix-emitter

Simple Event Emitter for ES6 and TypeScript based on Prefix Tree
MIT License
1 stars 0 forks source link

prefix-emitter for micro-frontends #2

Open GeoffSeloana opened 5 years ago

GeoffSeloana commented 5 years ago

Hi,

Does prefix-emitter also work for micro-frontends? currently have four angular 5 applications running on the same page. Need a way to make them communicate to each other using event-emmiter. Would I be able to do so with this framework?

Thanks in advance for your response.

gnaeus commented 5 years ago

Yes, you can use this library as global event bus with namespaces. But I think it's better to use something like EventEmitter2 since it much more popular and has better support.

GeoffSeloana commented 5 years ago

Thank you, much appreciated.