Twitxy Saved

Daniel Lockyer

Verified account This account is verified. Learn more

@DanielLockyer

β€’ I make sites faster and cloud/LLM bills lower πŸš€
β€’ 2:43 marathoner (πŸ”œ 2:39)
β€’ Performance is my thing
Amsterdam daniellockyer.com Joined December 2010
193 Following 73K Followers 11K Posts

Latest posts 5

Pinned post

Daniel Lockyer Verified account @DanielLockyer
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 @engineering @elonmusk @nikitabier
115 replies 87 reposts 3.1K likes 808K views View on X
Daniel Lockyer Verified account @DanielLockyer
Hope everyone is enjoying their weekend! 🀠
Upwind Security MDR Verified account @UpwindMDR 1d
🚨 CRITICAL - Unauthenticated RCE in React Server Components (GHSA-xqc2-xf4c-x3h3)

A critical vulnerability in React Server Components packages (react-server-dom-webpack, react-server-dom-turbopack, react-server-dom-parcel) allows unauthenticated remote attackers to execute arbitrary code via crafted RSC Flight payload responses transporting multiple typed arrays and attacker-controlled values.

πŸ‘‰ Affected: Versions 19.0.0–19.0.8, 19.1.0–19.1.9, 19.2.0–19.2.8, 19.3.0 | Upgrade immediately to 19.0.9, 19.1.10, 19.2.9, or 19.3.1 (or Next.js 16.4.1 / 15.5.28)

github.com/react/react/se…
View quoted post on X
22 replies 17 reposts 853 likes 164K views View on X
Daniel Lockyer Verified account @DanielLockyer
> 1,000 tokens per second

bro what
Vercel Developers Verified account @vercel_dev 2d
DeepSeek V4.1 Flash 1017 Ultrafast is now available on AI Gateway. It generates over 1,000 tokens per second.

Use πšπšŽπšŽπš™πšœπšŽπšŽπš”/πšπšŽπšŽπš™πšœπšŽπšŽπš”-𝚟𝟺.𝟷-πšπš•πšŠπšœπš‘-𝟷𝟢𝟷𝟽-πšžπš•πšπš›πšŠπšπšŠπšœπš for coding, reasoning, and agents.
View quoted post on X