JavaScript: React.renderComponent