{"action":"created","comment":{"url":"https://api.github.com/repos/JedWatson/react-input-autosize/pulls/comments/69475710","id":69475710,"diff_hunk":"@@ -96,10 +96,12 @@ const AutosizeInput = React.createClass({\n \t\tconst inputStyle = Object.assign({}, this.props.inputStyle);\n \t\tinputStyle.width = this.state.inputWidth + 'px';\n \t\tinputStyle.boxSizing = 'content-box';\n+\t\tconst { defaultValue, onChange, value } = this.props;\n+\t\tconst inputProps = { defaultValue, onChange, value, placeholder: this.props.placeholder };","path":"src/AutosizeInput.js","position":5,"original_position":5,"commit_id":"29d43d14e165632a79bf50abf914a33b3eab5398","original_commit_id":"29d43d14e165632a79bf50abf914a33b3eab5398","user":{"login":"caedmon","id":4381056,"avatar_url":"https://avatars.githubusercontent.com/u/4381056?v=3","gravatar_id":"","url":"https://api.github.com/users/caedmon","html_url":"https://github.com/caedmon","followers_url":"https://api.github.com/users/caedmon/followers","following_url":"https://api.github.com/users/caedmon/following{/other_user}","gists_url":"https://api.github.com/users/caedmon/gists{/gist_id}","starred_url":"https://api.github.com/users/caedmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caedmon/subscriptions","organizations_url":"https://api.github.com/users/caedmon/orgs","repos_url":"https://api.github.com/users/caedmon/repos","events_url":"https://api.github.com/users/caedmon/events{/privacy}","received_events_url":"https://api.github.com/users/caedmon/received_events","type":"User","site_admin":false},"body":"My first thought was in fact to create a `placeholder` variable just like the others.  But there is the pre-existing `placeholder` variable that it would conflict with, so I did as I did in the interest of a minimal change.  Renaming the other `placeholder` var might be the best for consistency and future readability.","created_at":"2016-07-04T16:04:01Z","updated_at":"2016-07-04T16:04:01Z","html_url":"https://github.com/JedWatson/react-input-autosize/pull/55#discussion_r69475710","pull_request_url":"https://api.github.com/repos/JedWatson/react-input-autosize/pulls/55","_links":{"self":{"href":"https://api.github.com/repos/JedWatson/react-input-autosize/pulls/comments/69475710"},"html":{"href":"https://github.com/JedWatson/react-input-autosize/pull/55#discussion_r69475710"},"pull_request":{"href":"https://api.github.com/repos/JedWatson/react-input-autosize/pulls/55"}}},"pull_request":{"url":"https://api.github.com/repos/JedWatson/react-input-autosize/pulls/55","id":76097408,"html_url":"https://github.com/JedWatson/react-input-autosize/pull/55","diff_url":"https://github.com/JedWatson/react-input-autosize/pull/55.diff","patch_url":"https://github.com/JedWatson/react-input-autosize/pull/55.patch","issue_url":"https://api.github.com/repos/JedWatson/react-input-autosize/issues/55","number":55,"state":"open","locked":false,"title":"Don't pass invalid props for input","user":{"login":"caedmon","id":4381056,"avatar_url":"https://avatars.githubusercontent.com/u/4381056?v=3","gravatar_id":"","url":"https://api.github.com/users/caedmon","html_url":"https://github.com/caedmon","followers_url":"https://api.github.com/users/caedmon/followers","following_url":"https://api.github.com/users/caedmon/following{/other_user}","gists_url":"https://api.github.com/users/caedmon/gists{/gist_id}","starred_url":"https://api.github.com/users/caedmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caedmon/subscriptions","organizations_url":"https://api.github.com/users/caedmon/orgs","repos_url":"https://api.github.com/users/caedmon/repos","events_url":"https://api.github.com/users/caedmon/events{/privacy}","received_events_url":"https://api.github.com/users/caedmon/received_events","type":"User","site_admin":false},"body":"Silences warnings from React.","created_at":"2016-07-03T20:13:41Z","updated_at":"2016-07-04T16:04:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e1b99f2b2a4dec33b7e79d31d628edc7a9f5447","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/JedWatson/react-input-autosize/pulls/55/commits","review_comments_url":"https://api.github.com/repos/JedWatson/react-input-autosize/pulls/55/comments","review_comment_url":"https://api.github.com/repos/JedWatson/react-input-autosize/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JedWatson/react-input-autosize/issues/55/comments","statuses_url":"https://api.github.com/repos/JedWatson/react-input-autosize/statuses/29d43d14e165632a79bf50abf914a33b3eab5398","head":{"label":"caedmon:fix-invalid-props","ref":"fix-invalid-props","sha":"29d43d14e165632a79bf50abf914a33b3eab5398","user":{"login":"caedmon","id":4381056,"avatar_url":"https://avatars.githubusercontent.com/u/4381056?v=3","gravatar_id":"","url":"https://api.github.com/users/caedmon","html_url":"https://github.com/caedmon","followers_url":"https://api.github.com/users/caedmon/followers","following_url":"https://api.github.com/users/caedmon/following{/other_user}","gists_url":"https://api.github.com/users/caedmon/gists{/gist_id}","starred_url":"https://api.github.com/users/caedmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caedmon/subscriptions","organizations_url":"https://api.github.com/users/caedmon/orgs","repos_url":"https://api.github.com/users/caedmon/repos","events_url":"https://api.github.com/users/caedmon/events{/privacy}","received_events_url":"https://api.github.com/users/caedmon/received_events","type":"User","site_admin":false},"repo":{"id":62511932,"name":"react-input-autosize","full_name":"caedmon/react-input-autosize","owner":{"login":"caedmon","id":4381056,"avatar_url":"https://avatars.githubusercontent.com/u/4381056?v=3","gravatar_id":"","url":"https://api.github.com/users/caedmon","html_url":"https://github.com/caedmon","followers_url":"https://api.github.com/users/caedmon/followers","following_url":"https://api.github.com/users/caedmon/following{/other_user}","gists_url":"https://api.github.com/users/caedmon/gists{/gist_id}","starred_url":"https://api.github.com/users/caedmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caedmon/subscriptions","organizations_url":"https://api.github.com/users/caedmon/orgs","repos_url":"https://api.github.com/users/caedmon/repos","events_url":"https://api.github.com/users/caedmon/events{/privacy}","received_events_url":"https://api.github.com/users/caedmon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caedmon/react-input-autosize","description":"Auto-resizing input field for React","fork":true,"url":"https://api.github.com/repos/caedmon/react-input-autosize","forks_url":"https://api.github.com/repos/caedmon/react-input-autosize/forks","keys_url":"https://api.github.com/repos/caedmon/react-input-autosize/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caedmon/react-input-autosize/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caedmon/react-input-autosize/teams","hooks_url":"https://api.github.com/repos/caedmon/react-input-autosize/hooks","issue_events_url":"https://api.github.com/repos/caedmon/react-input-autosize/issues/events{/number}","events_url":"https://api.github.com/repos/caedmon/react-input-autosize/events","assignees_url":"https://api.github.com/repos/caedmon/react-input-autosize/assignees{/user}","branches_url":"https://api.github.com/repos/caedmon/react-input-autosize/branches{/branch}","tags_url":"https://api.github.com/repos/caedmon/react-input-autosize/tags","blobs_url":"https://api.github.com/repos/caedmon/react-input-autosize/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caedmon/react-input-autosize/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caedmon/react-input-autosize/git/refs{/sha}","trees_url":"https://api.github.com/repos/caedmon/react-input-autosize/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caedmon/react-input-autosize/statuses/{sha}","languages_url":"https://api.github.com/repos/caedmon/react-input-autosize/languages","stargazers_url":"https://api.github.com/repos/caedmon/react-input-autosize/stargazers","contributors_url":"https://api.github.com/repos/caedmon/react-input-autosize/contributors","subscribers_url":"https://api.github.com/repos/caedmon/react-input-autosize/subscribers","subscription_url":"https://api.github.com/repos/caedmon/react-input-autosize/subscription","commits_url":"https://api.github.com/repos/caedmon/react-input-autosize/commits{/sha}","git_commits_url":"https://api.github.com/repos/caedmon/react-input-autosize/git/commits{/sha}","comments_url":"https://api.github.com/repos/caedmon/react-input-autosize/comments{/number}","issue_comment_url":"https://api.github.com/repos/caedmon/react-input-autosize/issues/comments{/number}","contents_url":"https://api.github.com/repos/caedmon/react-input-autosize/contents/{+path}","compare_url":"https://api.github.com/repos/caedmon/react-input-autosize/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caedmon/react-input-autosize/merges","archive_url":"https://api.github.com/repos/caedmon/react-input-autosize/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caedmon/react-input-autosize/downloads","issues_url":"https://api.github.com/repos/caedmon/react-input-autosize/issues{/number}","pulls_url":"https://api.github.com/repos/caedmon/react-input-autosize/pulls{/number}","milestones_url":"https://api.github.com/repos/caedmon/react-input-autosize/milestones{/number}","notifications_url":"https://api.github.com/repos/caedmon/react-input-autosize/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caedmon/react-input-autosize/labels{/name}","releases_url":"https://api.github.com/repos/caedmon/react-input-autosize/releases{/id}","deployments_url":"https://api.github.com/repos/caedmon/react-input-autosize/deployments","created_at":"2016-07-03T19:28:18Z","updated_at":"2016-07-03T19:28:19Z","pushed_at":"2016-07-03T20:11:40Z","git_url":"git://github.com/caedmon/react-input-autosize.git","ssh_url":"git@github.com:caedmon/react-input-autosize.git","clone_url":"https://github.com/caedmon/react-input-autosize.git","svn_url":"https://github.com/caedmon/react-input-autosize","homepage":null,"size":1821,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JedWatson:master","ref":"master","sha":"c4685c2c4ad54057d5b1dbb4b2677642bb541169","user":{"login":"JedWatson","id":872310,"avatar_url":"https://avatars.githubusercontent.com/u/872310?v=3","gravatar_id":"","url":"https://api.github.com/users/JedWatson","html_url":"https://github.com/JedWatson","followers_url":"https://api.github.com/users/JedWatson/followers","following_url":"https://api.github.com/users/JedWatson/following{/other_user}","gists_url":"https://api.github.com/users/JedWatson/gists{/gist_id}","starred_url":"https://api.github.com/users/JedWatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JedWatson/subscriptions","organizations_url":"https://api.github.com/users/JedWatson/orgs","repos_url":"https://api.github.com/users/JedWatson/repos","events_url":"https://api.github.com/users/JedWatson/events{/privacy}","received_events_url":"https://api.github.com/users/JedWatson/received_events","type":"User","site_admin":false},"repo":{"id":25356560,"name":"react-input-autosize","full_name":"JedWatson/react-input-autosize","owner":{"login":"JedWatson","id":872310,"avatar_url":"https://avatars.githubusercontent.com/u/872310?v=3","gravatar_id":"","url":"https://api.github.com/users/JedWatson","html_url":"https://github.com/JedWatson","followers_url":"https://api.github.com/users/JedWatson/followers","following_url":"https://api.github.com/users/JedWatson/following{/other_user}","gists_url":"https://api.github.com/users/JedWatson/gists{/gist_id}","starred_url":"https://api.github.com/users/JedWatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JedWatson/subscriptions","organizations_url":"https://api.github.com/users/JedWatson/orgs","repos_url":"https://api.github.com/users/JedWatson/repos","events_url":"https://api.github.com/users/JedWatson/events{/privacy}","received_events_url":"https://api.github.com/users/JedWatson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JedWatson/react-input-autosize","description":"Auto-resizing input field for React","fork":false,"url":"https://api.github.com/repos/JedWatson/react-input-autosize","forks_url":"https://api.github.com/repos/JedWatson/react-input-autosize/forks","keys_url":"https://api.github.com/repos/JedWatson/react-input-autosize/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JedWatson/react-input-autosize/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JedWatson/react-input-autosize/teams","hooks_url":"https://api.github.com/repos/JedWatson/react-input-autosize/hooks","issue_events_url":"https://api.github.com/repos/JedWatson/react-input-autosize/issues/events{/number}","events_url":"https://api.github.com/repos/JedWatson/react-input-autosize/events","assignees_url":"https://api.github.com/repos/JedWatson/react-input-autosize/assignees{/user}","branches_url":"https://api.github.com/repos/JedWatson/react-input-autosize/branches{/branch}","tags_url":"https://api.github.com/repos/JedWatson/react-input-autosize/tags","blobs_url":"https://api.github.com/repos/JedWatson/react-input-autosize/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JedWatson/react-input-autosize/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JedWatson/react-input-autosize/git/refs{/sha}","trees_url":"https://api.github.com/repos/JedWatson/react-input-autosize/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JedWatson/react-input-autosize/statuses/{sha}","languages_url":"https://api.github.com/repos/JedWatson/react-input-autosize/languages","stargazers_url":"https://api.github.com/repos/JedWatson/react-input-autosize/stargazers","contributors_url":"https://api.github.com/repos/JedWatson/react-input-autosize/contributors","subscribers_url":"https://api.github.com/repos/JedWatson/react-input-autosize/subscribers","subscription_url":"https://api.github.com/repos/JedWatson/react-input-autosize/subscription","commits_url":"https://api.github.com/repos/JedWatson/react-input-autosize/commits{/sha}","git_commits_url":"https://api.github.com/repos/JedWatson/react-input-autosize/git/commits{/sha}","comments_url":"https://api.github.com/repos/JedWatson/react-input-autosize/comments{/number}","issue_comment_url":"https://api.github.com/repos/JedWatson/react-input-autosize/issues/comments{/number}","contents_url":"https://api.github.com/repos/JedWatson/react-input-autosize/contents/{+path}","compare_url":"https://api.github.com/repos/JedWatson/react-input-autosize/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JedWatson/react-input-autosize/merges","archive_url":"https://api.github.com/repos/JedWatson/react-input-autosize/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JedWatson/react-input-autosize/downloads","issues_url":"https://api.github.com/repos/JedWatson/react-input-autosize/issues{/number}","pulls_url":"https://api.github.com/repos/JedWatson/react-input-autosize/pulls{/number}","milestones_url":"https://api.github.com/repos/JedWatson/react-input-autosize/milestones{/number}","notifications_url":"https://api.github.com/repos/JedWatson/react-input-autosize/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JedWatson/react-input-autosize/labels{/name}","releases_url":"https://api.github.com/repos/JedWatson/react-input-autosize/releases{/id}","deployments_url":"https://api.github.com/repos/JedWatson/react-input-autosize/deployments","created_at":"2014-10-17T12:10:46Z","updated_at":"2016-07-01T03:01:38Z","pushed_at":"2016-07-04T13:33:14Z","git_url":"git://github.com/JedWatson/react-input-autosize.git","ssh_url":"git@github.com:JedWatson/react-input-autosize.git","clone_url":"https://github.com/JedWatson/react-input-autosize.git","svn_url":"https://github.com/JedWatson/react-input-autosize","homepage":null,"size":2075,"stargazers_count":171,"watchers_count":171,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":50,"mirror_url":null,"open_issues_count":11,"forks":50,"open_issues":11,"watchers":171,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JedWatson/react-input-autosize/pulls/55"},"html":{"href":"https://github.com/JedWatson/react-input-autosize/pull/55"},"issue":{"href":"https://api.github.com/repos/JedWatson/react-input-autosize/issues/55"},"comments":{"href":"https://api.github.com/repos/JedWatson/react-input-autosize/issues/55/comments"},"review_comments":{"href":"https://api.github.com/repos/JedWatson/react-input-autosize/pulls/55/comments"},"review_comment":{"href":"https://api.github.com/repos/JedWatson/react-input-autosize/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JedWatson/react-input-autosize/pulls/55/commits"},"statuses":{"href":"https://api.github.com/repos/JedWatson/react-input-autosize/statuses/29d43d14e165632a79bf50abf914a33b3eab5398"}}}}
{"actor":{"display_login":"caedmon"}}