Event dispatcher for the React Flux architecture