Bubbling and Capturing in React