Redux and External Stores

External state libraries can still be useful in Next.js applications, especially when complex client-side state must be shared across many interactive components.

However, distinguish server state from client state. Database records fetched from the server do not necessarily belong in a global Redux store.

Use external stores for genuinely client-owned state such as complex editors, multi-step workflows, offline state, or sophisticated UI interactions.

Key Takeaways
  • Do not automatically put server data into global client state.
  • External stores are best for complex shared client state.
  • Server Components and server-side data fetching can eliminate many client-state requirements.