AntiPattern
Framework Cache Placement
misplaced-cache-directive
"use cache" (and related framework cache/revalidation directives) applied mid-function or after other logic causes stale or untracked data, leading to server-only Suspense fetching, incorrect hydration behavior, and missing revalidation when route/search params change.