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
How would you pass the globalEventDistributer into middleware as an argument given that the portal gets the store from a store file and the globalEventDistributer is seen first as a prop on root.component? I would really prefer not to have to pass the globalEventDistributer around through the entire component tree... :)
The text was updated successfully, but these errors were encountered:
Thank you! :) In your wisdom you knew that if you did not answer I would figure it out! Like a true Zen master you teach without teaching... :) I ended up making a combination component/middleware thingy that enables me to dispatch any GLOBAL_[ACTION_NAME] and expect it to be dispatched by the global event distributor. let me know if you want to see it. Peace.
How would you pass the globalEventDistributer into middleware as an argument given that the portal gets the store from a store file and the globalEventDistributer is seen first as a prop on root.component? I would really prefer not to have to pass the globalEventDistributer around through the entire component tree... :)
The text was updated successfully, but these errors were encountered: