In this video, we'll look at state transitions in NextJs 14 using the `useTransition` hook. We'll look at three different use cases: non-blocking state updates, optimistic UI, and implementing loading UI.
👉🏼 The Ultimate NextJs Course
→ https://www.hamedbahram.io/courses/nextjs
👉🏼 Scrimba web dev courses (get 20% discount)
→ https://scrimba.com/?via=hamedbahram
👉🏼 Project source code
→ https://github.com/HamedBahram/next-transition
👉🏼 Work with me
→ https://www.hamedbahram.io/hire
Chapters
0:00 Intro
3:54 useTransition hook
7:06 Non-blocking state updates
10:12 Caveats
13:00 Optimistic UI
15:20 Loading UI
19:00 Recap
Download
0 formats
No download links available.
The new `useTransition` hook with 3 example usecases | NatokHD