{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/react/pulls/comments/35037433","id":35037433,"diff_hunk":"@@ -35,7 +35,7 @@ Like all DOM events, the `onChange` prop is supported on all native components a\n \n ## Controlled Components\n \n-An `<input>` with `value` set is a *controlled* component. In a controlled `<input>`, the value of the rendered element will always reflect the `value` prop. For example:\n+An `<input>` with a `value` property is a *controlled* component:","path":"docs/docs/07-forms.md","position":5,"original_position":5,"commit_id":"6d78ed94b806642912874e840e57bb572a21e38d","original_commit_id":"6d78ed94b806642912874e840e57bb572a21e38d","user":{"login":"zpao","id":8445,"avatar_url":"https://avatars.githubusercontent.com/u/8445?v=3","gravatar_id":"","url":"https://api.github.com/users/zpao","html_url":"https://github.com/zpao","followers_url":"https://api.github.com/users/zpao/followers","following_url":"https://api.github.com/users/zpao/following{/other_user}","gists_url":"https://api.github.com/users/zpao/gists{/gist_id}","starred_url":"https://api.github.com/users/zpao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zpao/subscriptions","organizations_url":"https://api.github.com/users/zpao/orgs","repos_url":"https://api.github.com/users/zpao/repos","events_url":"https://api.github.com/users/zpao/events{/privacy}","received_events_url":"https://api.github.com/users/zpao/received_events","type":"User","site_admin":false},"body":"Can we leave this as \"prop\" (makes it clear we're talking about props and not arbitrary properties)","created_at":"2015-07-20T20:05:57Z","updated_at":"2015-07-20T20:05:57Z","html_url":"https://github.com/facebook/react/pull/4437#discussion_r35037433","pull_request_url":"https://api.github.com/repos/facebook/react/pulls/4437","_links":{"self":{"href":"https://api.github.com/repos/facebook/react/pulls/comments/35037433"},"html":{"href":"https://github.com/facebook/react/pull/4437#discussion_r35037433"},"pull_request":{"href":"https://api.github.com/repos/facebook/react/pulls/4437"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/react/pulls/4437","id":40388651,"html_url":"https://github.com/facebook/react/pull/4437","diff_url":"https://github.com/facebook/react/pull/4437.diff","patch_url":"https://github.com/facebook/react/pull/4437.patch","issue_url":"https://api.github.com/repos/facebook/react/issues/4437","number":4437,"state":"open","locked":false,"title":"Improve definition of the controlled and uncontrolled input","user":{"login":"gajus","id":973543,"avatar_url":"https://avatars.githubusercontent.com/u/973543?v=3","gravatar_id":"","url":"https://api.github.com/users/gajus","html_url":"https://github.com/gajus","followers_url":"https://api.github.com/users/gajus/followers","following_url":"https://api.github.com/users/gajus/following{/other_user}","gists_url":"https://api.github.com/users/gajus/gists{/gist_id}","starred_url":"https://api.github.com/users/gajus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gajus/subscriptions","organizations_url":"https://api.github.com/users/gajus/orgs","repos_url":"https://api.github.com/users/gajus/repos","events_url":"https://api.github.com/users/gajus/events{/privacy}","received_events_url":"https://api.github.com/users/gajus/received_events","type":"User","site_admin":false},"body":"I found the definition of the controlled and uncontrolled components ambiguous at first.","created_at":"2015-07-20T19:36:25Z","updated_at":"2015-07-20T20:05:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5b36b10937a1daf8a27d7a82c3a2c720c77ea96","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/react/pulls/4437/commits","review_comments_url":"https://api.github.com/repos/facebook/react/pulls/4437/comments","review_comment_url":"https://api.github.com/repos/facebook/react/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/react/issues/4437/comments","statuses_url":"https://api.github.com/repos/facebook/react/statuses/6d78ed94b806642912874e840e57bb572a21e38d","head":{"label":"gajus:patch-1","ref":"patch-1","sha":"6d78ed94b806642912874e840e57bb572a21e38d","user":{"login":"gajus","id":973543,"avatar_url":"https://avatars.githubusercontent.com/u/973543?v=3","gravatar_id":"","url":"https://api.github.com/users/gajus","html_url":"https://github.com/gajus","followers_url":"https://api.github.com/users/gajus/followers","following_url":"https://api.github.com/users/gajus/following{/other_user}","gists_url":"https://api.github.com/users/gajus/gists{/gist_id}","starred_url":"https://api.github.com/users/gajus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gajus/subscriptions","organizations_url":"https://api.github.com/users/gajus/orgs","repos_url":"https://api.github.com/users/gajus/repos","events_url":"https://api.github.com/users/gajus/events{/privacy}","received_events_url":"https://api.github.com/users/gajus/received_events","type":"User","site_admin":false},"repo":{"id":39349977,"name":"react","full_name":"gajus/react","owner":{"login":"gajus","id":973543,"avatar_url":"https://avatars.githubusercontent.com/u/973543?v=3","gravatar_id":"","url":"https://api.github.com/users/gajus","html_url":"https://github.com/gajus","followers_url":"https://api.github.com/users/gajus/followers","following_url":"https://api.github.com/users/gajus/following{/other_user}","gists_url":"https://api.github.com/users/gajus/gists{/gist_id}","starred_url":"https://api.github.com/users/gajus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gajus/subscriptions","organizations_url":"https://api.github.com/users/gajus/orgs","repos_url":"https://api.github.com/users/gajus/repos","events_url":"https://api.github.com/users/gajus/events{/privacy}","received_events_url":"https://api.github.com/users/gajus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gajus/react","description":"A declarative, efficient, and flexible JavaScript library for building user interfaces.","fork":true,"url":"https://api.github.com/repos/gajus/react","forks_url":"https://api.github.com/repos/gajus/react/forks","keys_url":"https://api.github.com/repos/gajus/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gajus/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gajus/react/teams","hooks_url":"https://api.github.com/repos/gajus/react/hooks","issue_events_url":"https://api.github.com/repos/gajus/react/issues/events{/number}","events_url":"https://api.github.com/repos/gajus/react/events","assignees_url":"https://api.github.com/repos/gajus/react/assignees{/user}","branches_url":"https://api.github.com/repos/gajus/react/branches{/branch}","tags_url":"https://api.github.com/repos/gajus/react/tags","blobs_url":"https://api.github.com/repos/gajus/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gajus/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gajus/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/gajus/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gajus/react/statuses/{sha}","languages_url":"https://api.github.com/repos/gajus/react/languages","stargazers_url":"https://api.github.com/repos/gajus/react/stargazers","contributors_url":"https://api.github.com/repos/gajus/react/contributors","subscribers_url":"https://api.github.com/repos/gajus/react/subscribers","subscription_url":"https://api.github.com/repos/gajus/react/subscription","commits_url":"https://api.github.com/repos/gajus/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/gajus/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/gajus/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/gajus/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/gajus/react/contents/{+path}","compare_url":"https://api.github.com/repos/gajus/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gajus/react/merges","archive_url":"https://api.github.com/repos/gajus/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gajus/react/downloads","issues_url":"https://api.github.com/repos/gajus/react/issues{/number}","pulls_url":"https://api.github.com/repos/gajus/react/pulls{/number}","milestones_url":"https://api.github.com/repos/gajus/react/milestones{/number}","notifications_url":"https://api.github.com/repos/gajus/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gajus/react/labels{/name}","releases_url":"https://api.github.com/repos/gajus/react/releases{/id}","created_at":"2015-07-19T21:42:29Z","updated_at":"2015-07-19T21:42:32Z","pushed_at":"2015-07-20T19:52:07Z","git_url":"git://github.com/gajus/react.git","ssh_url":"git@github.com:gajus/react.git","clone_url":"https://github.com/gajus/react.git","svn_url":"https://github.com/gajus/react","homepage":"https://facebook.github.io/react/","size":107075,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"21fff2daa6fb67cc979000751f96204f667b3fb3","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":10270250,"name":"react","full_name":"facebook/react","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/react","description":"A declarative, efficient, and flexible JavaScript library for building user interfaces.","fork":false,"url":"https://api.github.com/repos/facebook/react","forks_url":"https://api.github.com/repos/facebook/react/forks","keys_url":"https://api.github.com/repos/facebook/react/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/react/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/react/teams","hooks_url":"https://api.github.com/repos/facebook/react/hooks","issue_events_url":"https://api.github.com/repos/facebook/react/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/react/events","assignees_url":"https://api.github.com/repos/facebook/react/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/react/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/react/tags","blobs_url":"https://api.github.com/repos/facebook/react/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/react/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/react/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/react/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/react/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/react/languages","stargazers_url":"https://api.github.com/repos/facebook/react/stargazers","contributors_url":"https://api.github.com/repos/facebook/react/contributors","subscribers_url":"https://api.github.com/repos/facebook/react/subscribers","subscription_url":"https://api.github.com/repos/facebook/react/subscription","commits_url":"https://api.github.com/repos/facebook/react/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/react/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/react/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/react/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/react/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/react/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/react/merges","archive_url":"https://api.github.com/repos/facebook/react/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/react/downloads","issues_url":"https://api.github.com/repos/facebook/react/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/react/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/react/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/react/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/react/labels{/name}","releases_url":"https://api.github.com/repos/facebook/react/releases{/id}","created_at":"2013-05-24T16:15:54Z","updated_at":"2015-07-20T19:09:57Z","pushed_at":"2015-07-20T20:04:01Z","git_url":"git://github.com/facebook/react.git","ssh_url":"git@github.com:facebook/react.git","clone_url":"https://github.com/facebook/react.git","svn_url":"https://github.com/facebook/react","homepage":"https://facebook.github.io/react/","size":107075,"stargazers_count":25176,"watchers_count":25176,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3687,"mirror_url":null,"open_issues_count":590,"forks":3687,"open_issues":590,"watchers":25176,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react/pulls/4437"},"html":{"href":"https://github.com/facebook/react/pull/4437"},"issue":{"href":"https://api.github.com/repos/facebook/react/issues/4437"},"comments":{"href":"https://api.github.com/repos/facebook/react/issues/4437/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react/pulls/4437/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/react/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/react/pulls/4437/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react/statuses/6d78ed94b806642912874e840e57bb572a21e38d"}}}}