Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the project to Next.js 16, implementing the new caching APIs and Tailwind CSS v4 syntax, along with other dependency updates. The changes include removing the custom unstable_cache wrapper, adopting Next.js 16's "use cache" directive and new caching APIs, and updating CSS class syntax to align with Tailwind CSS v4 conventions.
Key changes:
- Migration from
unstable_cacheto Next.js 16's"use cache"directive,cacheLife(), andcacheTag()APIs - Replacement of
revalidateTag()withupdateTag()across server actions - Update of Tailwind CSS classes from v3 to v4 syntax (e.g., arbitrary values, attribute selectors)
Reviewed Changes
Copilot reviewed 20 out of 22 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/lib/unstable-cache.ts | Removed custom cache wrapper (no longer needed with Next.js 16) |
| src/app/lib/queries.ts | Migrated to "use cache" directive with new caching APIs |
| src/app/lib/actions.ts | Updated cache invalidation from revalidateTag() to updateTag() |
| src/app/page.tsx | Refactored component to properly handle async operations within Suspense boundaries |
| Multiple component files | Updated Tailwind CSS classes from v3 to v4 syntax |
| package.json | Updated Next.js to 16.0.0 and other dependency versions |
| next.config.ts | Added cacheComponents: true configuration |
| biome.json | Updated schema version and added Tailwind directives support |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
noodleman1991
pushed a commit
to noodleman1991/tablecn
that referenced
this pull request
Mar 12, 2026
* chore: bump to next 16 * chore: lint * chore: bump styles * chore: rebuild registry
anhdd-kuro
pushed a commit
to anhdd-kuro/tablecn
that referenced
this pull request
Apr 8, 2026
* chore: bump to next 16 * chore: lint * chore: bump styles * chore: rebuild registry
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.