Template
Remove next/cache usage (use cache, cacheLife, cacheTag, cacheComponents)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F22Ms5Cxam5UHyxaCrtZzu
This commit is contained in:
co-authored by
Claude Fable 5
parent
f23332e42c
commit
1e58ba4ca4
+3
-3
@@ -26,9 +26,9 @@ export const metadata: Metadata = {
|
||||
* `CartProvider` would create a divergent inner store vs the root-rendered
|
||||
* `CartDrawer` — mutations would not reflect across them.
|
||||
*
|
||||
* `force-dynamic` is not allowed with `cacheComponents: true`; the root layout
|
||||
* already makes every route dynamic via `cookies()`/`headers()` in the cart
|
||||
* seed. Reachable via the footer `/cart` link (no-JS fallback).
|
||||
* No `force-dynamic` needed; the root layout already makes every route
|
||||
* dynamic via `cookies()`/`headers()` in the cart seed. Reachable via the
|
||||
* footer `/cart` link (no-JS fallback).
|
||||
*/
|
||||
export default function CartPage() {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user