mirror of
https://github.com/sanjeed5/awesome-cursor-rules-mdc.git
synced 2026-11-30 14:52:55 +08:00
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. |