React and Event oriented architecture