React needs static Dispatcher for every "state" saved in React tree.
But in case of "widgets" collection aka workflowGroups we don't have it statically,
I created this.clickOnSlot function as event dispatcher and sent tableHandler to every child.
To trigger event you need to call tableHandler.dispatch(or clickOnSlot for single event).
PS original flux design has only global dispatchers that can be called statically everywhere.
React needs static Dispatcher for every "state" saved in React tree. But in case of "widgets" collection aka workflowGroups we don't have it statically, I created this.clickOnSlot function as event dispatcher and sent tableHandler to every child. To trigger event you need to call tableHandler.dispatch(or clickOnSlot for single event). PS original flux design has only global dispatchers that can be called statically everywhere.