{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/draft-js/pulls/comments/55574647","id":55574647,"diff_hunk":"@@ -30,6 +30,7 @@ to provide information about the text that the user has written.\n class MyInput extends React.Component {\n   constructor(props) {\n     super(props);\n+    this.state = { value: '' }","path":"docs/QuickStart-API-Basics.md","position":4,"original_position":4,"commit_id":"67da95c4d73c3bb6d7646293e00db557525650ff","original_commit_id":"67da95c4d73c3bb6d7646293e00db557525650ff","user":{"login":"hellendag","id":2823852,"avatar_url":"https://avatars.githubusercontent.com/u/2823852?v=3","gravatar_id":"","url":"https://api.github.com/users/hellendag","html_url":"https://github.com/hellendag","followers_url":"https://api.github.com/users/hellendag/followers","following_url":"https://api.github.com/users/hellendag/following{/other_user}","gists_url":"https://api.github.com/users/hellendag/gists{/gist_id}","starred_url":"https://api.github.com/users/hellendag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hellendag/subscriptions","organizations_url":"https://api.github.com/users/hellendag/orgs","repos_url":"https://api.github.com/users/hellendag/repos","events_url":"https://api.github.com/users/hellendag/events{/privacy}","received_events_url":"https://api.github.com/users/hellendag/received_events","type":"User","site_admin":false},"body":"  this.state = {value: ''};","created_at":"2016-03-09T19:31:55Z","updated_at":"2016-03-09T19:31:55Z","html_url":"https://github.com/facebook/draft-js/pull/180#discussion_r55574647","pull_request_url":"https://api.github.com/repos/facebook/draft-js/pulls/180","_links":{"self":{"href":"https://api.github.com/repos/facebook/draft-js/pulls/comments/55574647"},"html":{"href":"https://github.com/facebook/draft-js/pull/180#discussion_r55574647"},"pull_request":{"href":"https://api.github.com/repos/facebook/draft-js/pulls/180"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/draft-js/pulls/180","id":62185908,"html_url":"https://github.com/facebook/draft-js/pull/180","diff_url":"https://github.com/facebook/draft-js/pull/180.diff","patch_url":"https://github.com/facebook/draft-js/pull/180.patch","issue_url":"https://api.github.com/repos/facebook/draft-js/issues/180","number":180,"state":"open","locked":false,"title":"Updates Quick Start examples to run as expected","user":{"login":"kennethormandy","id":1581276,"avatar_url":"https://avatars.githubusercontent.com/u/1581276?v=3","gravatar_id":"","url":"https://api.github.com/users/kennethormandy","html_url":"https://github.com/kennethormandy","followers_url":"https://api.github.com/users/kennethormandy/followers","following_url":"https://api.github.com/users/kennethormandy/following{/other_user}","gists_url":"https://api.github.com/users/kennethormandy/gists{/gist_id}","starred_url":"https://api.github.com/users/kennethormandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennethormandy/subscriptions","organizations_url":"https://api.github.com/users/kennethormandy/orgs","repos_url":"https://api.github.com/users/kennethormandy/repos","events_url":"https://api.github.com/users/kennethormandy/events{/privacy}","received_events_url":"https://api.github.com/users/kennethormandy/received_events","type":"User","site_admin":false},"body":"Hey! Thanks so much for the hard work on this project. I’m just making my way through the documentation now, and I couldn’t get the Quick Start examples to run until I made the following changes.\r\n\r\nI have very little React experience, and even less with ES2015 stuff—it’s entirely possible I just misunderstood something in all these cases. Regardless, the examples didn’t work as-is for me, and to the best of my understand, these changes fix that.\r\n\r\nThe one change I made that was maybe more of an opinion was turning:\r\n\r\n```js\r\nconst {editorState} = this.state;\r\nreturn <Editor editorState={editorState} onChange={this.onChange} />\r\n```\r\n\r\n…into:\r\n\r\n```js\r\nreturn <Editor editorState={this.state.editorState} onChange={this.onChange} />\r\n```\r\n\r\n…which just reduced the complexity for me at the beginning, and had more in common with the initial Input example.","created_at":"2016-03-09T06:36:08Z","updated_at":"2016-03-09T19:31:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b3b6418a5c299266e9563d0c6e74eb1e130eae04","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/draft-js/pulls/180/commits","review_comments_url":"https://api.github.com/repos/facebook/draft-js/pulls/180/comments","review_comment_url":"https://api.github.com/repos/facebook/draft-js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/draft-js/issues/180/comments","statuses_url":"https://api.github.com/repos/facebook/draft-js/statuses/67da95c4d73c3bb6d7646293e00db557525650ff","head":{"label":"kennethormandy:ko-docs-start","ref":"ko-docs-start","sha":"67da95c4d73c3bb6d7646293e00db557525650ff","user":{"login":"kennethormandy","id":1581276,"avatar_url":"https://avatars.githubusercontent.com/u/1581276?v=3","gravatar_id":"","url":"https://api.github.com/users/kennethormandy","html_url":"https://github.com/kennethormandy","followers_url":"https://api.github.com/users/kennethormandy/followers","following_url":"https://api.github.com/users/kennethormandy/following{/other_user}","gists_url":"https://api.github.com/users/kennethormandy/gists{/gist_id}","starred_url":"https://api.github.com/users/kennethormandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennethormandy/subscriptions","organizations_url":"https://api.github.com/users/kennethormandy/orgs","repos_url":"https://api.github.com/users/kennethormandy/repos","events_url":"https://api.github.com/users/kennethormandy/events{/privacy}","received_events_url":"https://api.github.com/users/kennethormandy/received_events","type":"User","site_admin":false},"repo":{"id":53473968,"name":"draft-js","full_name":"kennethormandy/draft-js","owner":{"login":"kennethormandy","id":1581276,"avatar_url":"https://avatars.githubusercontent.com/u/1581276?v=3","gravatar_id":"","url":"https://api.github.com/users/kennethormandy","html_url":"https://github.com/kennethormandy","followers_url":"https://api.github.com/users/kennethormandy/followers","following_url":"https://api.github.com/users/kennethormandy/following{/other_user}","gists_url":"https://api.github.com/users/kennethormandy/gists{/gist_id}","starred_url":"https://api.github.com/users/kennethormandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennethormandy/subscriptions","organizations_url":"https://api.github.com/users/kennethormandy/orgs","repos_url":"https://api.github.com/users/kennethormandy/repos","events_url":"https://api.github.com/users/kennethormandy/events{/privacy}","received_events_url":"https://api.github.com/users/kennethormandy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kennethormandy/draft-js","description":"A React framework for building text editors.","fork":true,"url":"https://api.github.com/repos/kennethormandy/draft-js","forks_url":"https://api.github.com/repos/kennethormandy/draft-js/forks","keys_url":"https://api.github.com/repos/kennethormandy/draft-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kennethormandy/draft-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kennethormandy/draft-js/teams","hooks_url":"https://api.github.com/repos/kennethormandy/draft-js/hooks","issue_events_url":"https://api.github.com/repos/kennethormandy/draft-js/issues/events{/number}","events_url":"https://api.github.com/repos/kennethormandy/draft-js/events","assignees_url":"https://api.github.com/repos/kennethormandy/draft-js/assignees{/user}","branches_url":"https://api.github.com/repos/kennethormandy/draft-js/branches{/branch}","tags_url":"https://api.github.com/repos/kennethormandy/draft-js/tags","blobs_url":"https://api.github.com/repos/kennethormandy/draft-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kennethormandy/draft-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kennethormandy/draft-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/kennethormandy/draft-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kennethormandy/draft-js/statuses/{sha}","languages_url":"https://api.github.com/repos/kennethormandy/draft-js/languages","stargazers_url":"https://api.github.com/repos/kennethormandy/draft-js/stargazers","contributors_url":"https://api.github.com/repos/kennethormandy/draft-js/contributors","subscribers_url":"https://api.github.com/repos/kennethormandy/draft-js/subscribers","subscription_url":"https://api.github.com/repos/kennethormandy/draft-js/subscription","commits_url":"https://api.github.com/repos/kennethormandy/draft-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/kennethormandy/draft-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/kennethormandy/draft-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/kennethormandy/draft-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/kennethormandy/draft-js/contents/{+path}","compare_url":"https://api.github.com/repos/kennethormandy/draft-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kennethormandy/draft-js/merges","archive_url":"https://api.github.com/repos/kennethormandy/draft-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kennethormandy/draft-js/downloads","issues_url":"https://api.github.com/repos/kennethormandy/draft-js/issues{/number}","pulls_url":"https://api.github.com/repos/kennethormandy/draft-js/pulls{/number}","milestones_url":"https://api.github.com/repos/kennethormandy/draft-js/milestones{/number}","notifications_url":"https://api.github.com/repos/kennethormandy/draft-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kennethormandy/draft-js/labels{/name}","releases_url":"https://api.github.com/repos/kennethormandy/draft-js/releases{/id}","deployments_url":"https://api.github.com/repos/kennethormandy/draft-js/deployments","created_at":"2016-03-09T06:28:00Z","updated_at":"2016-03-09T06:28:01Z","pushed_at":"2016-03-09T06:28:11Z","git_url":"git://github.com/kennethormandy/draft-js.git","ssh_url":"git@github.com:kennethormandy/draft-js.git","clone_url":"https://github.com/kennethormandy/draft-js.git","svn_url":"https://github.com/kennethormandy/draft-js","homepage":"https://facebook.github.io/draft-js/","size":801,"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":"facebook:master","ref":"master","sha":"2a8dd168d8e1008922a682d9f4f18d83c73370d5","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":52113921,"name":"draft-js","full_name":"facebook/draft-js","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/draft-js","description":"A React framework for building text editors.","fork":false,"url":"https://api.github.com/repos/facebook/draft-js","forks_url":"https://api.github.com/repos/facebook/draft-js/forks","keys_url":"https://api.github.com/repos/facebook/draft-js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/draft-js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/draft-js/teams","hooks_url":"https://api.github.com/repos/facebook/draft-js/hooks","issue_events_url":"https://api.github.com/repos/facebook/draft-js/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/draft-js/events","assignees_url":"https://api.github.com/repos/facebook/draft-js/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/draft-js/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/draft-js/tags","blobs_url":"https://api.github.com/repos/facebook/draft-js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/draft-js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/draft-js/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/draft-js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/draft-js/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/draft-js/languages","stargazers_url":"https://api.github.com/repos/facebook/draft-js/stargazers","contributors_url":"https://api.github.com/repos/facebook/draft-js/contributors","subscribers_url":"https://api.github.com/repos/facebook/draft-js/subscribers","subscription_url":"https://api.github.com/repos/facebook/draft-js/subscription","commits_url":"https://api.github.com/repos/facebook/draft-js/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/draft-js/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/draft-js/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/draft-js/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/draft-js/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/draft-js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/draft-js/merges","archive_url":"https://api.github.com/repos/facebook/draft-js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/draft-js/downloads","issues_url":"https://api.github.com/repos/facebook/draft-js/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/draft-js/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/draft-js/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/draft-js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/draft-js/labels{/name}","releases_url":"https://api.github.com/repos/facebook/draft-js/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/draft-js/deployments","created_at":"2016-02-19T20:18:26Z","updated_at":"2016-03-09T18:29:00Z","pushed_at":"2016-03-09T06:36:08Z","git_url":"git://github.com/facebook/draft-js.git","ssh_url":"git@github.com:facebook/draft-js.git","clone_url":"https://github.com/facebook/draft-js.git","svn_url":"https://github.com/facebook/draft-js","homepage":"https://facebook.github.io/draft-js/","size":875,"stargazers_count":5242,"watchers_count":5242,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":228,"mirror_url":null,"open_issues_count":54,"forks":228,"open_issues":54,"watchers":5242,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/draft-js/pulls/180"},"html":{"href":"https://github.com/facebook/draft-js/pull/180"},"issue":{"href":"https://api.github.com/repos/facebook/draft-js/issues/180"},"comments":{"href":"https://api.github.com/repos/facebook/draft-js/issues/180/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/draft-js/pulls/180/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/draft-js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/draft-js/pulls/180/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/draft-js/statuses/67da95c4d73c3bb6d7646293e00db557525650ff"}}}}