When you do `<Foo />` but Foo is not a valid string or function, we show an error message:

https://github.com/facebook/react/blob/92c84a6f37245f4fbe3ce5dc50845856201637fa/src/isomorphic/classic/element/ReactElementValidator.js#L196

We include the owner name ("Please check the render method of Bar.") but not the full parent stack which we show for some of our other warnings like key warnings and prop types. We should call into ReactComponentTreeHook to get the full stack if possible. 

);
    expectDev(console.error.calls.count()).toBe(2);
    expectDev(console.error.calls.argsFor(0)[0]).toBe(
      'Warning: Failed prop type: ' +
      'The prop `prop` is marked as required in `Component`, but its value ' +
      'is `undefined`.\n' +
      '    in Component'
    );
    expectDev(console.error.calls.argsFor(1)[0]).toBe(
      'Warning: Failed prop type: ' +
      'Invalid prop `prop` of type `number` supplied to ' +
      '`Component`, expected `string`.\n' +
      '    in Component'
    );
    ReactTestUtils.renderIntoDocument(
      React.createElement(Component, {prop: 'string'})
    );
    
    expectDev(console.error.calls.count()).toBe(2);
  });
  it('should warn if a PropType creator is used as a PropType', () => {
    spyOn(console, 'error');
    var Component = React.createClass({
      propTypes: {
        myProp: React.PropTypes.shape,
      },
      render: function() {
        return React.createElement('span', null, this.props.myProp.value);
      },
    });