正在加载视频...

视频加载失败

Here me out! this feature is so crazy that everybody needs to know about it 📢 server side closures with Qwik !! 🤯

269,368 次观看 • 3 年前 •via X (Twitter)

10 条评论

Manu (Qwik) 的头像
Manu (Qwik)3 年前

Wrote about this crazy stuff in my last blog post: Also, we just released! feel free to give it a try npm create qwik

Pier 的头像
Pier3 年前

@QwikDev What about security?

Manu (Qwik) 的头像
Manu (Qwik)3 年前

@QwikDev It's as secure as doing a JSON restful endpoint, under the hood, it's like a registered endpoint

Enes 的头像
Enes3 年前

@QwikDev God will punish us for crossing this line

Manu (Qwik) 的头像
Manu (Qwik)3 年前

hear me out* (need to start paying to edit my tweets...)

Jonathan 的头像
Jonathan3 年前

@QwikDev What if the server is slow to respond? Any way to track the loading state?

Manu (Qwik) 的头像
Manu (Qwik)3 年前

@QwikDev it's just a normal async function! const loading = useSignal(false); loading.value = true; await serverFn(); loading.value = false

Dan Wood 🫳🏼 的头像
Dan Wood 🫳🏼3 年前

@QwikDev The counter example is mind blowing 🤯

Manu (Qwik) 的头像
Manu (Qwik)3 年前

@QwikDev glad u appreciate the _mindblowness_ that particular demo haha looks simple, but when you realize what's going on it's insane!

Kirby halal 的头像
Kirby halal3 年前

@QwikDev We're back to runAt="server" from ASP

相关视频