{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/react/issues/4775","labels_url":"https://api.github.com/repos/facebook/react/issues/4775/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/4775/comments","events_url":"https://api.github.com/repos/facebook/react/issues/4775/events","html_url":"https://github.com/facebook/react/issues/4775","id":104565074,"number":4775,"title":"validateDOMNesting message is confusing when using portals","user":{"login":"spicyj","id":6820,"avatar_url":"https://avatars.githubusercontent.com/u/6820?v=3","gravatar_id":"","url":"https://api.github.com/users/spicyj","html_url":"https://github.com/spicyj","followers_url":"https://api.github.com/users/spicyj/followers","following_url":"https://api.github.com/users/spicyj/following{/other_user}","gists_url":"https://api.github.com/users/spicyj/gists{/gist_id}","starred_url":"https://api.github.com/users/spicyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spicyj/subscriptions","organizations_url":"https://api.github.com/users/spicyj/orgs","repos_url":"https://api.github.com/users/spicyj/repos","events_url":"https://api.github.com/users/spicyj/events{/privacy}","received_events_url":"https://api.github.com/users/spicyj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-02T20:29:58Z","updated_at":"2015-09-02T20:29:58Z","closed_at":null,"body":"var Foo = React.createClass({\r\n  render: function() {\r\n    return <Bar />;\r\n  },\r\n});\r\n\r\nvar Bar = React.createClass({\r\n  render: function() {\r\n    return <Baz><a /></Baz>;\r\n  },\r\n});\r\n\r\nvar Baz = React.createClass({\r\n  render: function() {\r\n    return null;\r\n  },\r\n  componentDidMount: function() {\r\n    React.render(\r\n      React.Children.only(this.props.children),\r\n      document.createElement('a')\r\n    );\r\n  },\r\n});\r\n\r\nReact.render(<Foo />, document.getElementById('container'));\r\n```"}}