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
129
*taps the sign*
22
1,609
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
55
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
It dawned on me how this BJ Novak joke pretty much summarizes the whole neo-conservative movement. youtu.be/6VggQpQItXY?si=wBZ7…
203