Local vs. Global State Management

Learn about local and global state management in Next.js.

Let’s take a closer look at the two different types of states that Next.js encompasses.

Local state management

When talking about local state management, we’re referring to the application state that is component-scoped. We can summarize that concept with an elementary Counter component:

Get hands-on with 1200+ tech skills courses.