Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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

269,368 Aufrufe • vor 3 Jahren •via X (Twitter)

10 Kommentare

Profilbild von Manu (Qwik)
Manu (Qwik)vor 3 Jahren

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

Profilbild von Pier
Piervor 3 Jahren

@QwikDev What about security?

Profilbild von Manu (Qwik)
Manu (Qwik)vor 3 Jahren

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

Profilbild von Enes
Enesvor 3 Jahren

@QwikDev God will punish us for crossing this line

Profilbild von Manu (Qwik)
Manu (Qwik)vor 3 Jahren

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

Profilbild von Jonathan
Jonathanvor 3 Jahren

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

Profilbild von Manu (Qwik)
Manu (Qwik)vor 3 Jahren

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

Profilbild von Dan Wood 🫳🏼
Dan Wood 🫳🏼vor 3 Jahren

@QwikDev The counter example is mind blowing 🤯

Profilbild von Manu (Qwik)
Manu (Qwik)vor 3 Jahren

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

Profilbild von Kirby halal
Kirby halalvor 3 Jahren

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

Ähnliche Videos