Alfredo Lopez (@lfredolo) header
Alfredo Lopez (@lfredolo) profile picture

VP, Engineering @Hearst, Drummer, Droid. Trying stuff until it works. Views are mine and always isomorphic. He/him.

New York, NY
Joined April 2009
Input validation is hard… Little Bobby Tables it is!
Muse onboarding going great
1
143
To support the RSC context, all React needs to do is allow exporting getServerTreePath, and the rest can be done in userland. React already has `currentlyRenderingTask` internally. Can't fit the whole patch in a screenshot, but you get the gist.
1
89
The nice thing about _document was being able to control the post-app render. You could collect things from the tree render in a single place to add to the head (react-helmet), body, etc. I give you: onBeforeInitialFlush, insertHtml, insertSlotHtml, <RenderSlot>, and more!
1
63
Replying to @Una
🙌🏻
1
260
Replying to @timneutkens
My bad, this is kind of what I gathered from v0, which reads a bit differently. Still, you're confirming it's nowhere near the roadmap, which isn't great. Not every use case should be supported upstream, which is the whole point of providing lifecycle hooks.
2
443
This Twin Peaks day hits harder than usual… #TwinPeaksDay 🥲
83
FINALLY going to see Nosferatu today!
1
1
122
Replying to @thegutgame
Yo acá solo queriendo seguir jugando “Ticket to Ride” 🥲
1
79
Replying to @thegutgame
(╯°□°)╯︵ ┻━┻
1
70
It's great that this works for event handlers. It'd be amazing if this could work for ref functions, too (it currently doesn't) 😞
This works with RSC 👀
1
220
Holy memory leak, Batman! This morning, we upgraded to Node.js 22 LTS. Brb, going back to 20!
1
394
Maybe I'm alone with this, but I prefer to reference status codes by their names or "reasons" instead of the code number. Pretty please @nodejs 🙏
1
113