8 lines
372 B
Plaintext
8 lines
372 B
Plaintext
---
|
|
description: Defines the recommended state management strategies for Next.js 15 applications, including server and client contexts.
|
|
globs: app/**/*
|
|
---
|
|
- Use `useActionState` instead of deprecated `useFormState`.
|
|
- Leverage enhanced `useFormStatus` with new properties (data, method, action).
|
|
- Implement URL state management with 'nuqs'.
|
|
- Minimize client-side state. |