Oh, this also makes the notifications feed faster to render when scrolling too, it's the same component I'd love to know how much cumulative lag this fix is removing from the entire X user base, probably my biggest win to date
Daniel Lockyer
Daniel Lockyer18.8. klo 00.48
I've found (and locally fixed) an annoying performance bug on @X web! TLDR: go to a post with a lot of replies, and scroll up and down - notice it's laggy? There's a component that calculates the scroll parent, and then removes the scroll listener when unmounting. But it seems we don't even have a scroll listener most of the time, so we can avoid the heavy _getScrollParent function by wrapping it in a conditional This removes seconds of forced reflow and lag for me Would love to get it fixed! 🙏🏻 @X @XEng @elonmusk @nikitabier
158,66K