{"action":"created","issue":{"url":"https://api.github.com/repos/pinterest/gestalt/issues/147","repository_url":"https://api.github.com/repos/pinterest/gestalt","labels_url":"https://api.github.com/repos/pinterest/gestalt/issues/147/labels{/name}","comments_url":"https://api.github.com/repos/pinterest/gestalt/issues/147/comments","events_url":"https://api.github.com/repos/pinterest/gestalt/issues/147/events","html_url":"https://github.com/pinterest/gestalt/issues/147","id":318682509,"number":147,"title":"Massive performance issues with Masonry with scrollContainer set","user":{"login":"JoaoCnh","id":8489894,"avatar_url":"https://avatars0.githubusercontent.com/u/8489894?v=4","gravatar_id":"","url":"https://api.github.com/users/JoaoCnh","html_url":"https://github.com/JoaoCnh","followers_url":"https://api.github.com/users/JoaoCnh/followers","following_url":"https://api.github.com/users/JoaoCnh/following{/other_user}","gists_url":"https://api.github.com/users/JoaoCnh/gists{/gist_id}","starred_url":"https://api.github.com/users/JoaoCnh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoaoCnh/subscriptions","organizations_url":"https://api.github.com/users/JoaoCnh/orgs","repos_url":"https://api.github.com/users/JoaoCnh/repos","events_url":"https://api.github.com/users/JoaoCnh/events{/privacy}","received_events_url":"https://api.github.com/users/JoaoCnh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-04-29T01:44:23Z","updated_at":"2018-05-10T09:16:47Z","closed_at":null,"author_association":"NONE","body":"I'm having a huge performance drop when using Masonry with scrollContainer set. When it is set, each component in the page re-renders. If I try to use PureComponent or shouldComponentUpdate each item of the Masonry doesn't measure correctly and doesn't set correctly.\r\n\r\nIf I just unset scrollContainer everything works fine and doesn't trigger a million re-renders. But then I can't use loadItems for infinite scrolling.\r\n\r\nAm I doing something wrong? I'm using it just like the docs but with the scrollContainer set. loadItems doesn't work for me without scrollContainer"},"comment":{"url":"https://api.github.com/repos/pinterest/gestalt/issues/comments/388000322","html_url":"https://github.com/pinterest/gestalt/issues/147#issuecomment-388000322","issue_url":"https://api.github.com/repos/pinterest/gestalt/issues/147","id":388000322,"user":{"login":"JoaoCnh","id":8489894,"avatar_url":"https://avatars0.githubusercontent.com/u/8489894?v=4","gravatar_id":"","url":"https://api.github.com/users/JoaoCnh","html_url":"https://github.com/JoaoCnh","followers_url":"https://api.github.com/users/JoaoCnh/followers","following_url":"https://api.github.com/users/JoaoCnh/following{/other_user}","gists_url":"https://api.github.com/users/JoaoCnh/gists{/gist_id}","starred_url":"https://api.github.com/users/JoaoCnh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoaoCnh/subscriptions","organizations_url":"https://api.github.com/users/JoaoCnh/orgs","repos_url":"https://api.github.com/users/JoaoCnh/repos","events_url":"https://api.github.com/users/JoaoCnh/events{/privacy}","received_events_url":"https://api.github.com/users/JoaoCnh/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T09:16:47Z","updated_at":"2018-05-10T09:16:47Z","author_association":"NONE","body":"@chrislloyd I updated to the latest release and nothing renders in this [sandbox](https://codesandbox.io/s/23r7yrky3j).\r\n\r\nI am still gonna try and replicate the slow scrolling. My example also involves images\r\n\r\n"}}
{"actor":{"display_login":"JoaoCnh"}}