An action dispatcher for React.js