You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm playing arround with this library and I found out that I'm able to update state from AppA -> AppB even if AppB doesn't have registered global actions.
I'm able to dispatch action from AppB to AppA and modify the 'MFAppStore' even if there are not registered global actions.
In documentation ( readme ) it says:
this.globalStore.DispatchAction("App1", action); // This will dispatch the action to current app's store as well other stores who might have registered 'Action-1' as a global action
but it seems that it doesn't work as it is intended or I'm missing something?
Or it was always allowed?
Thanks
The text was updated successfully, but these errors were encountered:
AppB is able to modify store in AppA that doesn't have registered global actions. you just have to do the dispatchAction('APPA',{type:'INCREMENT'}) in appb then it will update the store of AppA.
Describe the bug
Hi everyone,
I'm playing arround with this library and I found out that I'm able to update state from AppA -> AppB even if AppB doesn't have registered global actions.
AppA:
AppB:
I'm able to dispatch action from AppB to AppA and modify the 'MFAppStore' even if there are not registered global actions.
In documentation ( readme ) it says:
this.globalStore.DispatchAction("App1", action); // This will dispatch the action to current app's store as well other stores who might have registered 'Action-1' as a global action
but it seems that it doesn't work as it is intended or I'm missing something?
Or it was always allowed?
Thanks
The text was updated successfully, but these errors were encountered: