Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

48,270 görüntüleme • 1 yıl önce •via X (Twitter)

9 Yorum

Alex Sidorenko profil fotoğrafı
Alex Sidorenko1 yıl önce

Docs

Alfon profil fotoğrafı
Alfon1 yıl önce

Wait whats the difference between after() and waitUntil() ?

Dominik Ferber profil fotoğrafı
Dominik Ferber1 yıl önce

Your clips are so good! Small heads up around this example: Next.js might prefetch pages so you would end up logging views for pages the user never actually visited

Alex Sidorenko profil fotoğrafı
Alex Sidorenko1 yıl önce

Good call, thanks. In a real-world scenario, you'll likely have a loading.tsx or Suspense, and Links only prefetch the page up to the Suspense boundary.

Mubashir profil fotoğrafı
Mubashir1 yıl önce

amazing, is this api stable?

Alex Sidorenko profil fotoğrafı
Alex Sidorenko1 yıl önce

Yes, since 15.1

Stephen Rayner profil fotoğrafı
Stephen Rayner1 yıl önce

Can this be used more than once the same response?

Alex Sidorenko profil fotoğrafı
Alex Sidorenko1 yıl önce

Just checked this by adding a ChildComponent that also logs to another hook using after(). Both work.

Edgaras profil fotoğrafı
Edgaras1 yıl önce

This could actually be nice for SOME background job use cases.

Benzer Videolar