Hendrik Liebau
1.1K posts

Hendrik Liebau
@unstubbable
Software Engineer at @vercel




just implemented nextjs parallel routes ask me anything







𝑎𝑠𝑦𝑛𝑐 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝐶𝑜𝑚𝑝({ 𝑖𝑑, 𝑐ℎ𝑖𝑙𝑑𝑟𝑒𝑛 }) { "𝑢𝑠𝑒 𝑐𝑎𝑐ℎ𝑒" 𝑐𝑜𝑛𝑠𝑡 𝑑𝑎𝑡𝑎 = 𝑎𝑤𝑎𝑖𝑡 𝑔𝑒𝑡𝑆𝑜𝑚𝑒𝐷𝑎𝑡𝑎(𝑖𝑑) 𝑟𝑒𝑡𝑢𝑟𝑛 <> <𝑑𝑖𝑣>{𝑑𝑎𝑡𝑎}</𝑑𝑖𝑣> {𝑐ℎ𝑖𝑙𝑑𝑟𝑒𝑛} </> } Changing children won’t break the cache.







In my RSC playground I've replaced the recently deprecated server context with a universal hook that utilizes AsyncLocalStorage on the server and client context in the browser, controlled through conditional exports. Good or bad idea? github.com/unstubbable/mf…










TypeScript 5.5 RC is now out to try! We're looking for feedback on inferred type predicates, JSDoc imports, regex checking, ${configDir}, isolatedDeclarations, build optimizations, and more! devblogs.microsoft.com/typescript/ann…


What if an LLM could generate an RSC Payload that could be directly rendered by React? I had to find out. Introducing V -1 ✨










