{"action":"created","issue":{"url":"https://api.github.com/repos/shprink/web-components-todo/issues/8","repository_url":"https://api.github.com/repos/shprink/web-components-todo","labels_url":"https://api.github.com/repos/shprink/web-components-todo/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/shprink/web-components-todo/issues/8/comments","events_url":"https://api.github.com/repos/shprink/web-components-todo/issues/8/events","html_url":"https://github.com/shprink/web-components-todo/pull/8","id":298294346,"number":8,"title":"Improve native performance by using the template element","user":{"login":"TimvdLippe","id":5948271,"avatar_url":"https://avatars3.githubusercontent.com/u/5948271?v=4","gravatar_id":"","url":"https://api.github.com/users/TimvdLippe","html_url":"https://github.com/TimvdLippe","followers_url":"https://api.github.com/users/TimvdLippe/followers","following_url":"https://api.github.com/users/TimvdLippe/following{/other_user}","gists_url":"https://api.github.com/users/TimvdLippe/gists{/gist_id}","starred_url":"https://api.github.com/users/TimvdLippe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimvdLippe/subscriptions","organizations_url":"https://api.github.com/users/TimvdLippe/orgs","repos_url":"https://api.github.com/users/TimvdLippe/repos","events_url":"https://api.github.com/users/TimvdLippe/events{/privacy}","received_events_url":"https://api.github.com/users/TimvdLippe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-19T14:28:08Z","updated_at":"2018-02-23T08:50:39Z","closed_at":"2018-02-19T18:43:13Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/shprink/web-components-todo/pulls/8","html_url":"https://github.com/shprink/web-components-todo/pull/8","diff_url":"https://github.com/shprink/web-components-todo/pull/8.diff","patch_url":"https://github.com/shprink/web-components-todo/pull/8.patch"},"body":"Per https://twitter.com/TimvdLippe/status/965322789942169602 `template` is a lot faster and dynamically creating DOM. CC @robdodson\r\n\r\nP.S. There are no instructions in the repository on how to reproduce the benchmark results you posted in https://twitter.com/julienrenaux/status/965168453748428800 Could you add these instructions to the README? When I run LightHouse on this branch, I get a 99 performance score with \"First Meaningful Paint\" of 1340ms."},"comment":{"url":"https://api.github.com/repos/shprink/web-components-todo/issues/comments/367947420","html_url":"https://github.com/shprink/web-components-todo/pull/8#issuecomment-367947420","issue_url":"https://api.github.com/repos/shprink/web-components-todo/issues/8","id":367947420,"user":{"login":"shprink","id":1388706,"avatar_url":"https://avatars3.githubusercontent.com/u/1388706?v=4","gravatar_id":"","url":"https://api.github.com/users/shprink","html_url":"https://github.com/shprink","followers_url":"https://api.github.com/users/shprink/followers","following_url":"https://api.github.com/users/shprink/following{/other_user}","gists_url":"https://api.github.com/users/shprink/gists{/gist_id}","starred_url":"https://api.github.com/users/shprink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shprink/subscriptions","organizations_url":"https://api.github.com/users/shprink/orgs","repos_url":"https://api.github.com/users/shprink/repos","events_url":"https://api.github.com/users/shprink/events{/privacy}","received_events_url":"https://api.github.com/users/shprink/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T08:50:39Z","updated_at":"2018-02-23T08:50:39Z","author_association":"OWNER","body":"I deployed, does not change anything. One thing that could potentially help the first meaning full paint though is to optimize the render method of `my-todo` https://github.com/shprink/web-components-todo/blob/master/native/js/my-todo.js#L50-L64\r\n\r\nSo far native is less fast than Skate, Polymer and Stencil:\r\n\r\n![image](https://user-images.githubusercontent.com/1388706/36585597-cdd7a4bc-187e-11e8-9b87-5136bec97fcd.png)\r\n\r\nDo you think you can get a crack at it @TimvdLippe ? \r\n\r\nthanks very much"}}
{"actor":{"display_login":"shprink"}}