classInstance,
      
      div(),
    ]);
    ops = [];
    
    ReactNoop.render(<Foo show={true} />);
    ReactNoop.flush();
    expect(ops).toEqual([
      
      null,
      null,
      
      classInstance,
      div(),
    ]);
    ops = [];
    ReactNoop.render(<Foo show={false} />);
    ReactNoop.flush();
    expect(ops).toEqual([
      
      null,
      null,
    ]);
  });
  
  
  it('supports string refs', () => {
    let fooInstance = null;
    class Bar extends React.Component {