Hendrik Liebau

1.1K posts

Hendrik Liebau banner
Hendrik Liebau

Hendrik Liebau

@unstubbable

Software Engineer at @vercel

Germany Katılım Mart 2009
23 Takip Edilen470 Takipçiler
Sabitlenmiş Tweet
Hendrik Liebau
Hendrik Liebau@unstubbable·
I’m excited to share this: You can now build streaming Generative UIs – powered by the fabulous Vercel AI SDK – outside of Next.js. Here’s a simple demo I’ve deployed to AWS Lambda & CloudFront.
English
2
0
14
8.6K
Chakresh
Chakresh@Chakresh2005·
@rauchg @timneutkens Could this be streamed in real time? As parts of the page become available, can they render progressively instead of waiting for everything? Right now it feels like the UI waits too long before showing anything.
English
1
0
2
1.4K
Chakresh
Chakresh@Chakresh2005·
Most irritating part with NextJs @rauchg
Chakresh tweet media
English
10
1
56
32.5K
alon
alon@alonzuman·
@vercel figured it out, if anyone from the @vercel_support is seeing this - it seems to be related to parallel routes inside of route groups and the build cache (redeployed without using build cache and it worked)
English
2
0
1
177
janka
janka@lubieowoce·
@feedthejim but be careful with stuff that crosses vibe boundaries, that can be tricky
English
1
0
9
270
Jimmy Lai
Jimmy Lai@feedthejim·
👉 Introducing 'use vibes' We don’t know where it runs. You don’t know where it runs. But it feels right. Available now on next@canary.
English
5
5
95
5K
Enrico - big-AGI
Enrico - big-AGI@enricoros·
I won't be able to repro; the app is using /app for two POST api routes (one on runtime=edge, one on node), and /pages with the traditional _document, _app, index, and 8 pages for the pages router. It's the head of github/enricoros/big-agi. Maybe the mixed nature is getting in the way?
English
1
0
1
42
Next.js
Next.js@nextjs·
Next.js 15.2 • Redesigned Error UI & Improved Stack Traces • Streaming Metadata • Turbopack Performance Improvements • View Transitions (experimental) • Node.js Middleware (experimental) nextjs.org/blog/next-15-2
English
77
238
1.9K
434.1K
Hendrik Liebau retweetledi
Malte Ubl
Malte Ubl@cramforce·
@jaredpalmer I like debuggers. Logging = how does this system behave over macro time Debugger = Zoom in on a few moments
English
1
1
10
1.3K
Hendrik Liebau retweetledi
Shu
Shu@shuding·
𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝐶𝑜𝑚𝑝({ 𝑖𝑑 }) { 𝑎𝑠𝑦𝑛𝑐 𝑓𝑢𝑛𝑐𝑡𝑖𝑜𝑛 𝑔𝑒𝑡𝑈𝑠𝑒𝑟𝐼𝑡𝑒𝑚𝑠(𝑖𝑛𝑑𝑒𝑥, 𝑙𝑖𝑚𝑖𝑡) { "𝑢𝑠𝑒 𝑐𝑎𝑐ℎ𝑒" 𝑟𝑒𝑡𝑢𝑟𝑛 𝑎𝑤𝑎𝑖𝑡 𝑑𝑏𝐺𝑒𝑡𝑈𝑠𝑒𝑟𝐼𝑡𝑒𝑚𝑠(𝑖𝑑, 𝑖𝑛𝑑𝑒𝑥, 𝑙𝑖𝑚𝑖𝑡) } 𝑟𝑒𝑡𝑢𝑟𝑛 <𝑈𝑠𝑒𝑟 𝑔𝑒𝑡𝐼𝑡𝑒𝑚𝑠={𝑔𝑒𝑡𝑈𝑠𝑒𝑟𝐼𝑡𝑒𝑚𝑠}/> } Here `id` will automatically become part of the cache key, and changing `id` will invalidate the cache even with same parameters. This is also why it can not be cache(fn) and has to be a compiler feature and be statically analyzable.
Shu@shuding

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

English
8
13
159
53.5K
Hendrik Liebau
Hendrik Liebau@unstubbable·
@gao_jude In the request handler on the server, e.g.: #L41" target="_blank" rel="nofollow noopener">github.com/unstubbable/mf…
English
1
0
0
56
Hendrik Liebau
Hendrik Liebau@unstubbable·
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…
Hendrik Liebau tweet mediaHendrik Liebau tweet mediaHendrik Liebau tweet mediaHendrik Liebau tweet media
English
3
0
9
1.3K
Alvar Lagerlöf
Alvar Lagerlöf@alvarlagerlof·
AsyncLocalStorage turns out to be very useful. I'm just learning about it so something about this implementation might be flawed (is it?). But it is already so useful.
Alvar Lagerlöf tweet media
English
3
0
29
4K
Hendrik Liebau
Hendrik Liebau@unstubbable·
@gunnigylfa @jayphelps Two things to do when a colleague leaves their computer unlocked: 1. Post in Slack: “There’s cake at my desk! Come and get it before it’s gone.” 2. Run `brew install gti`.
English
0
0
1
22
Jay Phelps
Jay Phelps@jayphelps·
git productivity booster life hack
Jay Phelps tweet media
English
167
519
5.8K
295.4K
Hendrik Liebau
Hendrik Liebau@unstubbable·
@pawelblaszczyk_ True. I’m in favor of inferred types in local closures, but not for the public API of a module. As always: it depends.
English
1
0
0
63
Hendrik Liebau
Hendrik Liebau@unstubbable·
window.matchMedia('(prefers-color-scheme: light)').matches &&
Hendrik Liebau tweet media
English
1
0
9
452
Hendrik Liebau
Hendrik Liebau@unstubbable·
Working late at night, excited for the future. ▲
Hendrik Liebau tweet media
English
3
1
81
10.2K
Hendrik Liebau
Hendrik Liebau@unstubbable·
@alvarlagerlof Did you slip in an out-of-order streaming joke at the end there with “wtf”? 🤓
English
1
0
0
58