Skip to content

Conversation

@feedthejim
Copy link
Collaborator

@feedthejim feedthejim commented Dec 20, 2025

Note

Enables Next cache components and 1‑day page revalidation for home/collection pages, upgrades to Next 16.1/React 19.2, and tweaks config/ignores.

  • App (routing/pages):
    • Add cached wrappers CachedHomePage and CachedCollectionPage using "use cache" + cacheLife({ revalidate: 86400 }) in src/app/(category-sidebar)/page.tsx and src/app/(category-sidebar)/[collection]/page.tsx.
  • Next Config:
    • Enable cacheComponents: true; add images.qualities = [65, 75, 80]; retain experimental.inlineCss.
  • Dependencies:
    • Upgrade next to 16.1.0, react/react-dom to 19.2.3, @next/env and eslint-config-next; refresh lockfile accordingly.
  • Misc:
    • Update .gitignore (track next-env.d.ts, ignore .env*.local).
    • Add .claude/settings.local.json permissions for devtools/build.

Written by Cursor Bugbot for commit 1456ea2. This will update automatically on new commits. Configure here.

@vercel
Copy link
Contributor

vercel bot commented Dec 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
next-master Ready Ready Preview, Comment Dec 20, 2025 2:54pm

@feedthejim feedthejim changed the title initial conversion cache components migration Dec 20, 2025
@ethanniser ethanniser marked this pull request as ready for review December 20, 2025 15:38
@ethanniser ethanniser merged commit f92ac22 into main Dec 20, 2025
6 of 7 checks passed
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

"@types/react": "npm:types-react@19.0.0-rc.1",
"@types/react-dom": "npm:types-react-dom@19.0.0-rc.1",
"@types/react": "19.2.7",
"@types/react-dom": "19.2.3",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React version mismatch between dependencies and pnpm overrides

The react and react-dom dependencies were updated to version 19.2.3, but the pnpm overrides section still specifies the old RC versions 19.0.0-rc-cd22717c-20241013. Since pnpm overrides take precedence, the app will actually install the outdated RC version instead of the stable 19.2.3 release. This creates a mismatch between the declared dependencies and actual runtime, and may cause compatibility issues with Next.js 16.1.0 which likely expects the stable React version.

Additional Locations (1)

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants