We should be warning if a controlled component becomes uncontrolled, or vice versa.

I thought this was fixed in https://github.com/facebook/react/issues/5821, but apparently it was either not fixed for checkbox components, or maybe I subsequently broke it in https://github.com/facebook/react/pull/7003 (or similar).  Regardless, we should fix it.

Demo of case that should warn: https://jsfiddle.net/s4742gkk/

);
      }
    }
    var stub = ReactTestUtils.renderIntoDocument(<RadioGroup />);
    var aNode = ReactDOM.findDOMNode(stub.refs.a);
    var bNode = ReactDOM.findDOMNode(stub.refs.b);
    var cNode = ReactDOM.findDOMNode(stub.refs.c);
    expect(aNode.checked).toBe(true);
    expect(bNode.checked).toBe(false);
    
    expect(cNode.checked).toBe(true);
    bNode.checked = true;
    
    
    
    aNode.checked = false;
    expect(cNode.checked).toBe(true);
    
    ReactTestUtils.Simulate.change(bNode);
    
    expect(aNode.checked).toBe(true);
    expect(cNode.checked).toBe(true);
  });
  it('should support ReactLink', function() {
    var link = new ReactLink('yolo', jest.fn());
    var instance = <input type="text" valueLink={link} />;
    instance = ReactTestUtils.renderIntoDocument(instance);
    expect(ReactDOM.findDOMNode(instance).value).toBe('yolo');
    expect(link.value).toBe('yolo');
    expect(link.requestChange.mock.calls.length).toBe(0);