{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react/issues/3561","labels_url":"https://api.github.com/repos/facebook/react/issues/3561/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/3561/comments","events_url":"https://api.github.com/repos/facebook/react/issues/3561/events","html_url":"https://github.com/facebook/react/issues/3561","id":65700041,"number":3561,"title":"strange contains `render` method but is not mounted in the DOM when there's an input","user":{"login":"bruno12mota","id":4086031,"avatar_url":"https://avatars.githubusercontent.com/u/4086031?v=3","gravatar_id":"","url":"https://api.github.com/users/bruno12mota","html_url":"https://github.com/bruno12mota","followers_url":"https://api.github.com/users/bruno12mota/followers","following_url":"https://api.github.com/users/bruno12mota/following{/other_user}","gists_url":"https://api.github.com/users/bruno12mota/gists{/gist_id}","starred_url":"https://api.github.com/users/bruno12mota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruno12mota/subscriptions","organizations_url":"https://api.github.com/users/bruno12mota/orgs","repos_url":"https://api.github.com/users/bruno12mota/repos","events_url":"https://api.github.com/users/bruno12mota/events{/privacy}","received_events_url":"https://api.github.com/users/bruno12mota/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-01T14:30:40Z","updated_at":"2015-04-01T15:29:47Z","closed_at":"2015-04-01T15:29:47Z","body":"I've got a component that renders the following:\r\n\r\n```\r\nrender () {\r\n    <div>\r\n        <form onSubmit={this.onAdd.bind(this)}>\r\n          <input type='text' />\r\n          <input type='submit' value='Add' />\r\n        </form>\r\n      </div>\r\n}\r\n````\r\nWhen I mount the same root component with different props on the previously rendered node I receive the error `Uncaught Error: Invariant Violation: Component (with keys: getDOMNode,_handleChange,props,context,state,refs,_reactInternalInstance) contains `render` method but is not mounted in the DOM`.\r\n\r\nNow, If i remove both inputs from the form above the error goes away.\r\n\r\nAn important note is that I'm using contexts and the component above lives inside `this.context.activePanel` in the root.\r\n\r\nEven though there's an error everything works as expected."}}