Change React.renderComponent to React.render