{"action":"created","issue":{"url":"https://api.github.com/repos/joshwnj/react-visibility-sensor/issues/79","repository_url":"https://api.github.com/repos/joshwnj/react-visibility-sensor","labels_url":"https://api.github.com/repos/joshwnj/react-visibility-sensor/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/joshwnj/react-visibility-sensor/issues/79/comments","events_url":"https://api.github.com/repos/joshwnj/react-visibility-sensor/issues/79/events","html_url":"https://github.com/joshwnj/react-visibility-sensor/issues/79","id":230730127,"number":79,"title":"getBoundingClientRect is expensive","user":{"login":"plus-","id":841776,"avatar_url":"https://avatars0.githubusercontent.com/u/841776?v=3","gravatar_id":"","url":"https://api.github.com/users/plus-","html_url":"https://github.com/plus-","followers_url":"https://api.github.com/users/plus-/followers","following_url":"https://api.github.com/users/plus-/following{/other_user}","gists_url":"https://api.github.com/users/plus-/gists{/gist_id}","starred_url":"https://api.github.com/users/plus-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plus-/subscriptions","organizations_url":"https://api.github.com/users/plus-/orgs","repos_url":"https://api.github.com/users/plus-/repos","events_url":"https://api.github.com/users/plus-/events{/privacy}","received_events_url":"https://api.github.com/users/plus-/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-23T14:33:34Z","updated_at":"2017-06-23T17:10:54Z","closed_at":null,"body":"The `getBoundingClientRect` API takes several ms as it forces the web engine to recalculate the layout (see https://gist.github.com/paulirish/5d52fb081b3570c81e3a). This is an issue for the visibility-sensor component if we apply that to thousands of elements.\r\n"},"comment":{"url":"https://api.github.com/repos/joshwnj/react-visibility-sensor/issues/comments/310721995","html_url":"https://github.com/joshwnj/react-visibility-sensor/issues/79#issuecomment-310721995","issue_url":"https://api.github.com/repos/joshwnj/react-visibility-sensor/issues/79","id":310721995,"user":{"login":"jackgeek","id":202170,"avatar_url":"https://avatars0.githubusercontent.com/u/202170?v=3","gravatar_id":"","url":"https://api.github.com/users/jackgeek","html_url":"https://github.com/jackgeek","followers_url":"https://api.github.com/users/jackgeek/followers","following_url":"https://api.github.com/users/jackgeek/following{/other_user}","gists_url":"https://api.github.com/users/jackgeek/gists{/gist_id}","starred_url":"https://api.github.com/users/jackgeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackgeek/subscriptions","organizations_url":"https://api.github.com/users/jackgeek/orgs","repos_url":"https://api.github.com/users/jackgeek/repos","events_url":"https://api.github.com/users/jackgeek/events{/privacy}","received_events_url":"https://api.github.com/users/jackgeek/received_events","type":"User","site_admin":false},"created_at":"2017-06-23T17:10:54Z","updated_at":"2017-06-23T17:10:54Z","body":"This is an issue for us as well.  Anyone have an idea as to how this could be solved?  I am happy to contribute a pull request with implementation but I don't know how we can avoid this?"}}
{"actor":{"display_login":"jackgeek"}}