{"action":"created","comment":{"url":"https://api.github.com/repos/choojs/choo/pulls/comments/172969751","pull_request_review_id":102079593,"id":172969751,"diff_hunk":"@@ -0,0 +1,40 @@\n+var assert = require('assert')\n+var LRU = require('nanolru')\n+\n+module.exports = ChooComponentCache\n+\n+function ChooComponentCache (state, emit, lru) {\n+  assert.ok(this instanceof ChooComponentCache, 'ChooComponentCache should be created with `new`')\n+\n+  assert.equal(typeof state, 'object', 'ChooComponentCache: state should be type object')\n+  assert.equal(typeof emit, 'function', 'ChooComponentCache: state should be type function')\n+\n+  this.cache = lru || new LRU(100)","path":"component/cache.js","position":12,"original_position":12,"commit_id":"181b3bb84c1ec3643bc98a046fb1d0d8636d6de3","original_commit_id":"181b3bb84c1ec3643bc98a046fb1d0d8636d6de3","user":{"login":"goto-bus-stop","id":1006268,"avatar_url":"https://avatars1.githubusercontent.com/u/1006268?v=4","gravatar_id":"","url":"https://api.github.com/users/goto-bus-stop","html_url":"https://github.com/goto-bus-stop","followers_url":"https://api.github.com/users/goto-bus-stop/followers","following_url":"https://api.github.com/users/goto-bus-stop/following{/other_user}","gists_url":"https://api.github.com/users/goto-bus-stop/gists{/gist_id}","starred_url":"https://api.github.com/users/goto-bus-stop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goto-bus-stop/subscriptions","organizations_url":"https://api.github.com/users/goto-bus-stop/orgs","repos_url":"https://api.github.com/users/goto-bus-stop/repos","events_url":"https://api.github.com/users/goto-bus-stop/events{/privacy}","received_events_url":"https://api.github.com/users/goto-bus-stop/received_events","type":"User","site_admin":false},"body":"That would help too! Id still be worried about the tweets though. as I understand it a list of 100+ tweets would end up recreating and evicting instances during every render even if their content didn't change...","created_at":"2018-03-07T20:10:29Z","updated_at":"2018-03-07T20:10:29Z","html_url":"https://github.com/choojs/choo/pull/639#discussion_r172969751","pull_request_url":"https://api.github.com/repos/choojs/choo/pulls/639","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/choojs/choo/pulls/comments/172969751"},"html":{"href":"https://github.com/choojs/choo/pull/639#discussion_r172969751"},"pull_request":{"href":"https://api.github.com/repos/choojs/choo/pulls/639"}},"in_reply_to_id":172879671},"pull_request":{"url":"https://api.github.com/repos/choojs/choo/pulls/639","id":173452875,"html_url":"https://github.com/choojs/choo/pull/639","diff_url":"https://github.com/choojs/choo/pull/639.diff","patch_url":"https://github.com/choojs/choo/pull/639.patch","issue_url":"https://api.github.com/repos/choojs/choo/issues/639","number":639,"state":"open","locked":false,"title":"[wip] choo components","user":{"login":"yoshuawuyts","id":2467194,"avatar_url":"https://avatars3.githubusercontent.com/u/2467194?v=4","gravatar_id":"","url":"https://api.github.com/users/yoshuawuyts","html_url":"https://github.com/yoshuawuyts","followers_url":"https://api.github.com/users/yoshuawuyts/followers","following_url":"https://api.github.com/users/yoshuawuyts/following{/other_user}","gists_url":"https://api.github.com/users/yoshuawuyts/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshuawuyts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshuawuyts/subscriptions","organizations_url":"https://api.github.com/users/yoshuawuyts/orgs","repos_url":"https://api.github.com/users/yoshuawuyts/repos","events_url":"https://api.github.com/users/yoshuawuyts/events{/privacy}","received_events_url":"https://api.github.com/users/yoshuawuyts/received_events","type":"User","site_admin":false},"body":"Replacement for #606. Thanks!","created_at":"2018-03-07T13:33:58Z","updated_at":"2018-03-07T20:10:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c206e8e44276dbc76f02fd54451225330352cc0f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/choojs/choo/pulls/639/commits","review_comments_url":"https://api.github.com/repos/choojs/choo/pulls/639/comments","review_comment_url":"https://api.github.com/repos/choojs/choo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/choojs/choo/issues/639/comments","statuses_url":"https://api.github.com/repos/choojs/choo/statuses/181b3bb84c1ec3643bc98a046fb1d0d8636d6de3","head":{"label":"choojs:choojs-components","ref":"choojs-components","sha":"181b3bb84c1ec3643bc98a046fb1d0d8636d6de3","user":{"login":"choojs","id":29929674,"avatar_url":"https://avatars3.githubusercontent.com/u/29929674?v=4","gravatar_id":"","url":"https://api.github.com/users/choojs","html_url":"https://github.com/choojs","followers_url":"https://api.github.com/users/choojs/followers","following_url":"https://api.github.com/users/choojs/following{/other_user}","gists_url":"https://api.github.com/users/choojs/gists{/gist_id}","starred_url":"https://api.github.com/users/choojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choojs/subscriptions","organizations_url":"https://api.github.com/users/choojs/orgs","repos_url":"https://api.github.com/users/choojs/repos","events_url":"https://api.github.com/users/choojs/events{/privacy}","received_events_url":"https://api.github.com/users/choojs/received_events","type":"Organization","site_admin":false},"repo":{"id":58482213,"name":"choo","full_name":"choojs/choo","owner":{"login":"choojs","id":29929674,"avatar_url":"https://avatars3.githubusercontent.com/u/29929674?v=4","gravatar_id":"","url":"https://api.github.com/users/choojs","html_url":"https://github.com/choojs","followers_url":"https://api.github.com/users/choojs/followers","following_url":"https://api.github.com/users/choojs/following{/other_user}","gists_url":"https://api.github.com/users/choojs/gists{/gist_id}","starred_url":"https://api.github.com/users/choojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choojs/subscriptions","organizations_url":"https://api.github.com/users/choojs/orgs","repos_url":"https://api.github.com/users/choojs/repos","events_url":"https://api.github.com/users/choojs/events{/privacy}","received_events_url":"https://api.github.com/users/choojs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/choojs/choo","description":":steam_locomotive::train: - sturdy 4kb frontend framework","fork":false,"url":"https://api.github.com/repos/choojs/choo","forks_url":"https://api.github.com/repos/choojs/choo/forks","keys_url":"https://api.github.com/repos/choojs/choo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/choojs/choo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/choojs/choo/teams","hooks_url":"https://api.github.com/repos/choojs/choo/hooks","issue_events_url":"https://api.github.com/repos/choojs/choo/issues/events{/number}","events_url":"https://api.github.com/repos/choojs/choo/events","assignees_url":"https://api.github.com/repos/choojs/choo/assignees{/user}","branches_url":"https://api.github.com/repos/choojs/choo/branches{/branch}","tags_url":"https://api.github.com/repos/choojs/choo/tags","blobs_url":"https://api.github.com/repos/choojs/choo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/choojs/choo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/choojs/choo/git/refs{/sha}","trees_url":"https://api.github.com/repos/choojs/choo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/choojs/choo/statuses/{sha}","languages_url":"https://api.github.com/repos/choojs/choo/languages","stargazers_url":"https://api.github.com/repos/choojs/choo/stargazers","contributors_url":"https://api.github.com/repos/choojs/choo/contributors","subscribers_url":"https://api.github.com/repos/choojs/choo/subscribers","subscription_url":"https://api.github.com/repos/choojs/choo/subscription","commits_url":"https://api.github.com/repos/choojs/choo/commits{/sha}","git_commits_url":"https://api.github.com/repos/choojs/choo/git/commits{/sha}","comments_url":"https://api.github.com/repos/choojs/choo/comments{/number}","issue_comment_url":"https://api.github.com/repos/choojs/choo/issues/comments{/number}","contents_url":"https://api.github.com/repos/choojs/choo/contents/{+path}","compare_url":"https://api.github.com/repos/choojs/choo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/choojs/choo/merges","archive_url":"https://api.github.com/repos/choojs/choo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/choojs/choo/downloads","issues_url":"https://api.github.com/repos/choojs/choo/issues{/number}","pulls_url":"https://api.github.com/repos/choojs/choo/pulls{/number}","milestones_url":"https://api.github.com/repos/choojs/choo/milestones{/number}","notifications_url":"https://api.github.com/repos/choojs/choo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/choojs/choo/labels{/name}","releases_url":"https://api.github.com/repos/choojs/choo/releases{/id}","deployments_url":"https://api.github.com/repos/choojs/choo/deployments","created_at":"2016-05-10T17:50:35Z","updated_at":"2018-03-07T18:08:13Z","pushed_at":"2018-03-07T13:34:17Z","git_url":"git://github.com/choojs/choo.git","ssh_url":"git@github.com:choojs/choo.git","clone_url":"https://github.com/choojs/choo.git","svn_url":"https://github.com/choojs/choo","homepage":"https://choo.io/","size":657,"stargazers_count":5171,"watchers_count":5171,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":288,"mirror_url":null,"archived":false,"open_issues_count":45,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":288,"open_issues":45,"watchers":5171,"default_branch":"master"}},"base":{"label":"choojs:master","ref":"master","sha":"7a86ae81552a2fbcd06bb6459b10a1c09bc998d0","user":{"login":"choojs","id":29929674,"avatar_url":"https://avatars3.githubusercontent.com/u/29929674?v=4","gravatar_id":"","url":"https://api.github.com/users/choojs","html_url":"https://github.com/choojs","followers_url":"https://api.github.com/users/choojs/followers","following_url":"https://api.github.com/users/choojs/following{/other_user}","gists_url":"https://api.github.com/users/choojs/gists{/gist_id}","starred_url":"https://api.github.com/users/choojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choojs/subscriptions","organizations_url":"https://api.github.com/users/choojs/orgs","repos_url":"https://api.github.com/users/choojs/repos","events_url":"https://api.github.com/users/choojs/events{/privacy}","received_events_url":"https://api.github.com/users/choojs/received_events","type":"Organization","site_admin":false},"repo":{"id":58482213,"name":"choo","full_name":"choojs/choo","owner":{"login":"choojs","id":29929674,"avatar_url":"https://avatars3.githubusercontent.com/u/29929674?v=4","gravatar_id":"","url":"https://api.github.com/users/choojs","html_url":"https://github.com/choojs","followers_url":"https://api.github.com/users/choojs/followers","following_url":"https://api.github.com/users/choojs/following{/other_user}","gists_url":"https://api.github.com/users/choojs/gists{/gist_id}","starred_url":"https://api.github.com/users/choojs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/choojs/subscriptions","organizations_url":"https://api.github.com/users/choojs/orgs","repos_url":"https://api.github.com/users/choojs/repos","events_url":"https://api.github.com/users/choojs/events{/privacy}","received_events_url":"https://api.github.com/users/choojs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/choojs/choo","description":":steam_locomotive::train: - sturdy 4kb frontend framework","fork":false,"url":"https://api.github.com/repos/choojs/choo","forks_url":"https://api.github.com/repos/choojs/choo/forks","keys_url":"https://api.github.com/repos/choojs/choo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/choojs/choo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/choojs/choo/teams","hooks_url":"https://api.github.com/repos/choojs/choo/hooks","issue_events_url":"https://api.github.com/repos/choojs/choo/issues/events{/number}","events_url":"https://api.github.com/repos/choojs/choo/events","assignees_url":"https://api.github.com/repos/choojs/choo/assignees{/user}","branches_url":"https://api.github.com/repos/choojs/choo/branches{/branch}","tags_url":"https://api.github.com/repos/choojs/choo/tags","blobs_url":"https://api.github.com/repos/choojs/choo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/choojs/choo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/choojs/choo/git/refs{/sha}","trees_url":"https://api.github.com/repos/choojs/choo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/choojs/choo/statuses/{sha}","languages_url":"https://api.github.com/repos/choojs/choo/languages","stargazers_url":"https://api.github.com/repos/choojs/choo/stargazers","contributors_url":"https://api.github.com/repos/choojs/choo/contributors","subscribers_url":"https://api.github.com/repos/choojs/choo/subscribers","subscription_url":"https://api.github.com/repos/choojs/choo/subscription","commits_url":"https://api.github.com/repos/choojs/choo/commits{/sha}","git_commits_url":"https://api.github.com/repos/choojs/choo/git/commits{/sha}","comments_url":"https://api.github.com/repos/choojs/choo/comments{/number}","issue_comment_url":"https://api.github.com/repos/choojs/choo/issues/comments{/number}","contents_url":"https://api.github.com/repos/choojs/choo/contents/{+path}","compare_url":"https://api.github.com/repos/choojs/choo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/choojs/choo/merges","archive_url":"https://api.github.com/repos/choojs/choo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/choojs/choo/downloads","issues_url":"https://api.github.com/repos/choojs/choo/issues{/number}","pulls_url":"https://api.github.com/repos/choojs/choo/pulls{/number}","milestones_url":"https://api.github.com/repos/choojs/choo/milestones{/number}","notifications_url":"https://api.github.com/repos/choojs/choo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/choojs/choo/labels{/name}","releases_url":"https://api.github.com/repos/choojs/choo/releases{/id}","deployments_url":"https://api.github.com/repos/choojs/choo/deployments","created_at":"2016-05-10T17:50:35Z","updated_at":"2018-03-07T18:08:13Z","pushed_at":"2018-03-07T13:34:17Z","git_url":"git://github.com/choojs/choo.git","ssh_url":"git@github.com:choojs/choo.git","clone_url":"https://github.com/choojs/choo.git","svn_url":"https://github.com/choojs/choo","homepage":"https://choo.io/","size":657,"stargazers_count":5171,"watchers_count":5171,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":288,"mirror_url":null,"archived":false,"open_issues_count":45,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":288,"open_issues":45,"watchers":5171,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/choojs/choo/pulls/639"},"html":{"href":"https://github.com/choojs/choo/pull/639"},"issue":{"href":"https://api.github.com/repos/choojs/choo/issues/639"},"comments":{"href":"https://api.github.com/repos/choojs/choo/issues/639/comments"},"review_comments":{"href":"https://api.github.com/repos/choojs/choo/pulls/639/comments"},"review_comment":{"href":"https://api.github.com/repos/choojs/choo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/choojs/choo/pulls/639/commits"},"statuses":{"href":"https://api.github.com/repos/choojs/choo/statuses/181b3bb84c1ec3643bc98a046fb1d0d8636d6de3"}},"author_association":"OWNER"}}
{"actor":{"display_login":"goto-bus-stop"}}