Global State Management in NextJs 14 Using Zustand @hamedbahram
Global State Management in NextJs 14 Using Zustand  @hamedbahram
Uploaded November 2023 | Updated December 2026, 3 hours ago
This video will look at global state management in NextJs 14 using Zustand. We'll build a task tracker β€” Kanban board, and look at persisting the data in the local storage using Zustand middlewares.

πŸ‘‰πŸΌ The Ultimate NextJs 14 Course
πŸ”— hamedbahram.io/courses/nextjs

πŸ‘‰πŸΌ Project source code (Github)
πŸ”— github.com/HamedBahram/next-zustand

πŸ‘‰πŸΌ Inspired by @NiklasZiermann video on @freecodecamp
πŸ”— youtu.be/fZPgBnL2x-Q?si=lyYhTpBE_py7Fzet

πŸ‘‰πŸΌ Let's talk about your project
πŸ”— hamedbahram.io/contact

Chapters
0:00 Intro
4:00 Zustand Introduction
8:40 Project setup
12:30 Adding Zustand
22:00 Bind components to Zustand
24:20 Adding shadcn/ui
31:50 Adding a new task
33:56 Adding drag & drop logic
44:15 Deleting tasks
45:00 Persist state in local storage
47:00 Hydration error
50:00 Recap
Global State Management in NextJs 14 Using ZustandProtecting routes in NextJs using Clerk middleware [6/6]Visual website builder for NextJs, shadcn/ui, and TailwindUsing the new next/font package | NextJs 13 seriesCaching in NextJs ft Delba Oliveira from VercelNeon: Serverless Postgres DatabaseMonetize your API in under 30 minutesProtect your NextJs 13 app using Next-AuthWeb Developer Roadmap 2024Using Stripe API in NextJsWhats coming up in Tailwind V4Build an AI Image App with Next.js, Clerk & PayPal
Hamed Bahram |

Global State Management in NextJs 14 Using Zustand

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER