I am just working on a simple prototype using flux and react. Previously when i have used React I have sent events from child components up to their parent components (who have registered prop callbacks on the child) and then changed state in the parent.
Following the Flux architecture should ALL events be raised via the Dispatcher? For example even a simple user event such as the selection of a checkbox should be raised via this chain:
- create an action in the component event handler
- send to the dispatcher
- dispatcher sends to a store
- store emits a change event to the controller view
- the controller view calls back to the store to pick up the change
thanks