Closed GeoffSeloana closed 5 years ago
it's not need to set customProps in mooa, you can try:
window
objectlocalStorage
Okay, will try that... the problem is, i would like the child applications to listen on an object and react to any change that happens to that object. something like Angular observables
or Angular BehaviorSubject
. Something that can keep all the applications informed about the state of an object and its value.
Any idea how I can handle events with mooa framework? not only passing data but reacting to events
I think maybe you can implements a simple pub-sub function with Promise
. And bind it to window
object, then everywhere can use it. Or just customEvent
?
Okay thank you. Will try it.
Hi,
Please advice how to pass data from parent application start-up with mooa.
Trying to do the following.
Parent applicatoin
customProps is the object i would like to pass to the other applications on start-up.
Child application
how can i get this object from the child application
e.g on the following code