{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react/issues/5819","labels_url":"https://api.github.com/repos/facebook/react/issues/5819/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/5819/comments","events_url":"https://api.github.com/repos/facebook/react/issues/5819/events","html_url":"https://github.com/facebook/react/issues/5819","id":126025619,"number":5819,"title":"Warn when `value` and `defaultValue` are both specified","user":{"login":"jimfb","id":9595985,"avatar_url":"https://avatars.githubusercontent.com/u/9595985?v=3","gravatar_id":"","url":"https://api.github.com/users/jimfb","html_url":"https://github.com/jimfb","followers_url":"https://api.github.com/users/jimfb/followers","following_url":"https://api.github.com/users/jimfb/following{/other_user}","gists_url":"https://api.github.com/users/jimfb/gists{/gist_id}","starred_url":"https://api.github.com/users/jimfb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimfb/subscriptions","organizations_url":"https://api.github.com/users/jimfb/orgs","repos_url":"https://api.github.com/users/jimfb/repos","events_url":"https://api.github.com/users/jimfb/events{/privacy}","received_events_url":"https://api.github.com/users/jimfb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/react/labels/good%20first%20bug","name":"good first bug","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-11T20:07:18Z","updated_at":"2016-01-11T23:33:43Z","closed_at":"2016-01-11T23:33:43Z","body":"This should be illegal:\r\n```\r\nReactDOM.render(\r\n  <input value=\"foo\" defaultValue=\"foo1\" onChange={function(){}} />,\r\n  document.getElementById('container')\r\n);\r\n```\r\nUsers need to decide if they are using controlled or uncontrolled inputs.  We should warn if both properties are specified."}}