Replace deprecated React calls

React is deprecating calling react components directly.

https://gist.github.com/sebmarkbage/ae327f2eda03bf165261

These changes update the ImageLoader to React's new way of doing things.