Closed
Description
We have a ton of places that do
var container = document.createElement('div');
var component = <Something />;
var instance = React.renderComponent(component, container);
We should just be doing
var component = <Something />;
var instance = ReactTestUtils.renderIntoDocument(component);
This isn't an exciting task, but gets you exposed to lots of tests which can help with understanding react core better. cc @kmeht