Update dependencies and enhance layout components - #31
Merged
Conversation
- Upgraded Next.js from version 16.2.12 to 16.3.0 for improved performance and features. - Added new fallback components for Suspense in various sections to enhance user experience during loading states. - Refactored layout components to utilize Suspense for better handling of asynchronous data fetching. - Introduced new optional dependencies for image processing and updated existing ones to their latest versions. - Improved error handling in layout components to ensure smoother navigation and user experience.
PageProps and LayoutProps are globals Next writes into .next/types, and next-env.d.ts is gitignored — so a clean checkout has neither and tsc fails with TS2304 on every page that uses them. It passed locally only because a build had already run. check-types now depends on a typegen task, the same shape apps/api uses for trpc:generate.
jessicamooney101-lang
approved these changes
Aug 5, 2026
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.
Summary by cubic
Upgrade to
next16.3 and move the app to Suspense-first rendering with lightweight fallbacks and proactive prefetching to make navigation feel instant. Also refresh loading visuals and reduce blocking fetch work.Refactors
prefetchonLink; introducedPageShellLoading, a new SVG spinner, and list search-param defaults to support prefetch.cacheComponentsandpartialPrefetching; callconnection()in route handlers for better streaming.export const instant = false; improved error flow withunstable_rethrow.typegenscript;check-typesdepends on it).Dependencies
nextto 16.3.0.sharpand platform variants).Written for commit 03d4069. Summary will update on new commits.