{"action":"created","comment":{"url":"https://api.github.com/repos/ant-design/ant-design-mobile/pulls/comments/170183103","pull_request_review_id":98830452,"id":170183103,"diff_hunk":"@@ -4,6 +4,7 @@ import { SearchBarProps as BasePropsType, SearchBarState, defaultProps } from '.\n import getDataAttr from '../_util/getDataAttr';\n import TouchFeedback from 'rmc-feedback';\n import { getComponentLocale } from '../_util/getLocale';\n+import 'raf/polyfill';","path":"components/search-bar/index.tsx","position":4,"original_position":4,"commit_id":"71214e60114445c23faf3d7972da5b2149b8ca98","original_commit_id":"71214e60114445c23faf3d7972da5b2149b8ca98","user":{"login":"paranoidjk","id":7971415,"avatar_url":"https://avatars3.githubusercontent.com/u/7971415?v=4","gravatar_id":"","url":"https://api.github.com/users/paranoidjk","html_url":"https://github.com/paranoidjk","followers_url":"https://api.github.com/users/paranoidjk/followers","following_url":"https://api.github.com/users/paranoidjk/following{/other_user}","gists_url":"https://api.github.com/users/paranoidjk/gists{/gist_id}","starred_url":"https://api.github.com/users/paranoidjk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paranoidjk/subscriptions","organizations_url":"https://api.github.com/users/paranoidjk/orgs","repos_url":"https://api.github.com/users/paranoidjk/repos","events_url":"https://api.github.com/users/paranoidjk/events{/privacy}","received_events_url":"https://api.github.com/users/paranoidjk/received_events","type":"User","site_admin":false},"body":"https://reactjs.org/blog/2017/09/26/react-v16.0.html#javascript-environment-requirements\r\n\r\n@liril-net No need to do polyfill, it's up to users whether want to use react16.","created_at":"2018-02-23T07:37:38Z","updated_at":"2018-02-23T07:37:39Z","html_url":"https://github.com/ant-design/ant-design-mobile/pull/2338#discussion_r170183103","pull_request_url":"https://api.github.com/repos/ant-design/ant-design-mobile/pulls/2338","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/ant-design/ant-design-mobile/pulls/comments/170183103"},"html":{"href":"https://github.com/ant-design/ant-design-mobile/pull/2338#discussion_r170183103"},"pull_request":{"href":"https://api.github.com/repos/ant-design/ant-design-mobile/pulls/2338"}},"in_reply_to_id":169872795},"pull_request":{"url":"https://api.github.com/repos/ant-design/ant-design-mobile/pulls/2338","id":168288341,"html_url":"https://github.com/ant-design/ant-design-mobile/pull/2338","diff_url":"https://github.com/ant-design/ant-design-mobile/pull/2338.diff","patch_url":"https://github.com/ant-design/ant-design-mobile/pull/2338.patch","issue_url":"https://api.github.com/repos/ant-design/ant-design-mobile/issues/2338","number":2338,"state":"open","locked":false,"title":"fix: Remove magic number 50ms","user":{"login":"liril-net","id":16029685,"avatar_url":"https://avatars2.githubusercontent.com/u/16029685?v=4","gravatar_id":"","url":"https://api.github.com/users/liril-net","html_url":"https://github.com/liril-net","followers_url":"https://api.github.com/users/liril-net/followers","following_url":"https://api.github.com/users/liril-net/following{/other_user}","gists_url":"https://api.github.com/users/liril-net/gists{/gist_id}","starred_url":"https://api.github.com/users/liril-net/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liril-net/subscriptions","organizations_url":"https://api.github.com/users/liril-net/orgs","repos_url":"https://api.github.com/users/liril-net/repos","events_url":"https://api.github.com/users/liril-net/events{/privacy}","received_events_url":"https://api.github.com/users/liril-net/received_events","type":"User","site_admin":false},"body":"First of all, thank you for your contribution! :-)\r\n\r\nPlease makes sure that these checkboxes are checked before submitting your PR, thank you!\r\n\r\n* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd).\r\n* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.\r\n* [x] Rebase before creating a PR to keep commit history clear.\r\n* [x] Add some descriptions and refer relative issues for you PR.\r\n\r\nExtra checklist:\r\n\r\n**if** *isBugFix* **:**\r\n\r\n  * [ ] Make sure that you add at least one unit test for the bug which you had fixed.\r\n\r\n**elif** *isNewFeature* **:**\r\n\r\n  * [ ] Update API docs for the component.\r\n  * [ ] Update/Add demo to demonstrate new feature.\r\n  * [ ] Update TypeScript definition for the component.\r\n  * [ ] Add unit tests for the feature.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/ant-design/ant-design-mobile/2338)\n<!-- Reviewable:end -->\n","created_at":"2018-02-09T16:45:20Z","updated_at":"2018-02-23T07:37:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"03e05d526b2531adb34dc26241bc23a35b0a1d04","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ant-design/ant-design-mobile/pulls/2338/commits","review_comments_url":"https://api.github.com/repos/ant-design/ant-design-mobile/pulls/2338/comments","review_comment_url":"https://api.github.com/repos/ant-design/ant-design-mobile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ant-design/ant-design-mobile/issues/2338/comments","statuses_url":"https://api.github.com/repos/ant-design/ant-design-mobile/statuses/71214e60114445c23faf3d7972da5b2149b8ca98","head":{"label":"liril-net:50ms-fix","ref":"50ms-fix","sha":"71214e60114445c23faf3d7972da5b2149b8ca98","user":{"login":"liril-net","id":16029685,"avatar_url":"https://avatars2.githubusercontent.com/u/16029685?v=4","gravatar_id":"","url":"https://api.github.com/users/liril-net","html_url":"https://github.com/liril-net","followers_url":"https://api.github.com/users/liril-net/followers","following_url":"https://api.github.com/users/liril-net/following{/other_user}","gists_url":"https://api.github.com/users/liril-net/gists{/gist_id}","starred_url":"https://api.github.com/users/liril-net/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liril-net/subscriptions","organizations_url":"https://api.github.com/users/liril-net/orgs","repos_url":"https://api.github.com/users/liril-net/repos","events_url":"https://api.github.com/users/liril-net/events{/privacy}","received_events_url":"https://api.github.com/users/liril-net/received_events","type":"User","site_admin":false},"repo":{"id":120924314,"name":"ant-design-mobile","full_name":"liril-net/ant-design-mobile","owner":{"login":"liril-net","id":16029685,"avatar_url":"https://avatars2.githubusercontent.com/u/16029685?v=4","gravatar_id":"","url":"https://api.github.com/users/liril-net","html_url":"https://github.com/liril-net","followers_url":"https://api.github.com/users/liril-net/followers","following_url":"https://api.github.com/users/liril-net/following{/other_user}","gists_url":"https://api.github.com/users/liril-net/gists{/gist_id}","starred_url":"https://api.github.com/users/liril-net/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liril-net/subscriptions","organizations_url":"https://api.github.com/users/liril-net/orgs","repos_url":"https://api.github.com/users/liril-net/repos","events_url":"https://api.github.com/users/liril-net/events{/privacy}","received_events_url":"https://api.github.com/users/liril-net/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/liril-net/ant-design-mobile","description":"A configurable Mobile UI","fork":true,"url":"https://api.github.com/repos/liril-net/ant-design-mobile","forks_url":"https://api.github.com/repos/liril-net/ant-design-mobile/forks","keys_url":"https://api.github.com/repos/liril-net/ant-design-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/liril-net/ant-design-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/liril-net/ant-design-mobile/teams","hooks_url":"https://api.github.com/repos/liril-net/ant-design-mobile/hooks","issue_events_url":"https://api.github.com/repos/liril-net/ant-design-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/liril-net/ant-design-mobile/events","assignees_url":"https://api.github.com/repos/liril-net/ant-design-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/liril-net/ant-design-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/liril-net/ant-design-mobile/tags","blobs_url":"https://api.github.com/repos/liril-net/ant-design-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/liril-net/ant-design-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/liril-net/ant-design-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/liril-net/ant-design-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/liril-net/ant-design-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/liril-net/ant-design-mobile/languages","stargazers_url":"https://api.github.com/repos/liril-net/ant-design-mobile/stargazers","contributors_url":"https://api.github.com/repos/liril-net/ant-design-mobile/contributors","subscribers_url":"https://api.github.com/repos/liril-net/ant-design-mobile/subscribers","subscription_url":"https://api.github.com/repos/liril-net/ant-design-mobile/subscription","commits_url":"https://api.github.com/repos/liril-net/ant-design-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/liril-net/ant-design-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/liril-net/ant-design-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/liril-net/ant-design-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/liril-net/ant-design-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/liril-net/ant-design-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/liril-net/ant-design-mobile/merges","archive_url":"https://api.github.com/repos/liril-net/ant-design-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/liril-net/ant-design-mobile/downloads","issues_url":"https://api.github.com/repos/liril-net/ant-design-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/liril-net/ant-design-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/liril-net/ant-design-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/liril-net/ant-design-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/liril-net/ant-design-mobile/labels{/name}","releases_url":"https://api.github.com/repos/liril-net/ant-design-mobile/releases{/id}","deployments_url":"https://api.github.com/repos/liril-net/ant-design-mobile/deployments","created_at":"2018-02-09T15:50:05Z","updated_at":"2018-02-09T15:50:09Z","pushed_at":"2018-02-09T16:44:49Z","git_url":"git://github.com/liril-net/ant-design-mobile.git","ssh_url":"git@github.com:liril-net/ant-design-mobile.git","clone_url":"https://github.com/liril-net/ant-design-mobile.git","svn_url":"https://github.com/liril-net/ant-design-mobile","homepage":"https://mobile.ant.design","size":88181,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ant-design:master","ref":"master","sha":"e4359305aa8f3728f770aebc9f86951a1601f308","user":{"login":"ant-design","id":12101536,"avatar_url":"https://avatars3.githubusercontent.com/u/12101536?v=4","gravatar_id":"","url":"https://api.github.com/users/ant-design","html_url":"https://github.com/ant-design","followers_url":"https://api.github.com/users/ant-design/followers","following_url":"https://api.github.com/users/ant-design/following{/other_user}","gists_url":"https://api.github.com/users/ant-design/gists{/gist_id}","starred_url":"https://api.github.com/users/ant-design/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ant-design/subscriptions","organizations_url":"https://api.github.com/users/ant-design/orgs","repos_url":"https://api.github.com/users/ant-design/repos","events_url":"https://api.github.com/users/ant-design/events{/privacy}","received_events_url":"https://api.github.com/users/ant-design/received_events","type":"Organization","site_admin":false},"repo":{"id":47093357,"name":"ant-design-mobile","full_name":"ant-design/ant-design-mobile","owner":{"login":"ant-design","id":12101536,"avatar_url":"https://avatars3.githubusercontent.com/u/12101536?v=4","gravatar_id":"","url":"https://api.github.com/users/ant-design","html_url":"https://github.com/ant-design","followers_url":"https://api.github.com/users/ant-design/followers","following_url":"https://api.github.com/users/ant-design/following{/other_user}","gists_url":"https://api.github.com/users/ant-design/gists{/gist_id}","starred_url":"https://api.github.com/users/ant-design/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ant-design/subscriptions","organizations_url":"https://api.github.com/users/ant-design/orgs","repos_url":"https://api.github.com/users/ant-design/repos","events_url":"https://api.github.com/users/ant-design/events{/privacy}","received_events_url":"https://api.github.com/users/ant-design/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ant-design/ant-design-mobile","description":"A configurable Mobile UI","fork":false,"url":"https://api.github.com/repos/ant-design/ant-design-mobile","forks_url":"https://api.github.com/repos/ant-design/ant-design-mobile/forks","keys_url":"https://api.github.com/repos/ant-design/ant-design-mobile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ant-design/ant-design-mobile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ant-design/ant-design-mobile/teams","hooks_url":"https://api.github.com/repos/ant-design/ant-design-mobile/hooks","issue_events_url":"https://api.github.com/repos/ant-design/ant-design-mobile/issues/events{/number}","events_url":"https://api.github.com/repos/ant-design/ant-design-mobile/events","assignees_url":"https://api.github.com/repos/ant-design/ant-design-mobile/assignees{/user}","branches_url":"https://api.github.com/repos/ant-design/ant-design-mobile/branches{/branch}","tags_url":"https://api.github.com/repos/ant-design/ant-design-mobile/tags","blobs_url":"https://api.github.com/repos/ant-design/ant-design-mobile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ant-design/ant-design-mobile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ant-design/ant-design-mobile/git/refs{/sha}","trees_url":"https://api.github.com/repos/ant-design/ant-design-mobile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ant-design/ant-design-mobile/statuses/{sha}","languages_url":"https://api.github.com/repos/ant-design/ant-design-mobile/languages","stargazers_url":"https://api.github.com/repos/ant-design/ant-design-mobile/stargazers","contributors_url":"https://api.github.com/repos/ant-design/ant-design-mobile/contributors","subscribers_url":"https://api.github.com/repos/ant-design/ant-design-mobile/subscribers","subscription_url":"https://api.github.com/repos/ant-design/ant-design-mobile/subscription","commits_url":"https://api.github.com/repos/ant-design/ant-design-mobile/commits{/sha}","git_commits_url":"https://api.github.com/repos/ant-design/ant-design-mobile/git/commits{/sha}","comments_url":"https://api.github.com/repos/ant-design/ant-design-mobile/comments{/number}","issue_comment_url":"https://api.github.com/repos/ant-design/ant-design-mobile/issues/comments{/number}","contents_url":"https://api.github.com/repos/ant-design/ant-design-mobile/contents/{+path}","compare_url":"https://api.github.com/repos/ant-design/ant-design-mobile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ant-design/ant-design-mobile/merges","archive_url":"https://api.github.com/repos/ant-design/ant-design-mobile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ant-design/ant-design-mobile/downloads","issues_url":"https://api.github.com/repos/ant-design/ant-design-mobile/issues{/number}","pulls_url":"https://api.github.com/repos/ant-design/ant-design-mobile/pulls{/number}","milestones_url":"https://api.github.com/repos/ant-design/ant-design-mobile/milestones{/number}","notifications_url":"https://api.github.com/repos/ant-design/ant-design-mobile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ant-design/ant-design-mobile/labels{/name}","releases_url":"https://api.github.com/repos/ant-design/ant-design-mobile/releases{/id}","deployments_url":"https://api.github.com/repos/ant-design/ant-design-mobile/deployments","created_at":"2015-11-30T03:33:06Z","updated_at":"2018-02-23T06:19:44Z","pushed_at":"2018-02-22T09:45:02Z","git_url":"git://github.com/ant-design/ant-design-mobile.git","ssh_url":"git@github.com:ant-design/ant-design-mobile.git","clone_url":"https://github.com/ant-design/ant-design-mobile.git","svn_url":"https://github.com/ant-design/ant-design-mobile","homepage":"https://mobile.ant.design","size":88868,"stargazers_count":4229,"watchers_count":4229,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":653,"mirror_url":null,"archived":false,"open_issues_count":131,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":653,"open_issues":131,"watchers":4229,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ant-design/ant-design-mobile/pulls/2338"},"html":{"href":"https://github.com/ant-design/ant-design-mobile/pull/2338"},"issue":{"href":"https://api.github.com/repos/ant-design/ant-design-mobile/issues/2338"},"comments":{"href":"https://api.github.com/repos/ant-design/ant-design-mobile/issues/2338/comments"},"review_comments":{"href":"https://api.github.com/repos/ant-design/ant-design-mobile/pulls/2338/comments"},"review_comment":{"href":"https://api.github.com/repos/ant-design/ant-design-mobile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ant-design/ant-design-mobile/pulls/2338/commits"},"statuses":{"href":"https://api.github.com/repos/ant-design/ant-design-mobile/statuses/71214e60114445c23faf3d7972da5b2149b8ca98"}},"author_association":"NONE"}}
{"actor":{"display_login":"paranoidjk"}}