Changing renderComponent to render for 0.12 upgrade

`React.renderComponent` is now deprecated.