Replacing views with React.