Upgraded Next.js from Version 12.3 to 13.5 #216
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.
Description
In this PR, I tackled Issue #55 which was to upgrade the Next.js version from 12.3 to 13.5 in order to
leverage the latest features, optimizations, and improvements.
Related Issue
#55
Type of Change
Proposed Solution
In my PR, I upgraded the Next.js version from 12.3 to 13.5. In the package.json, I updated the Next.js dependency variable "next" from "12.3.0" to "13.5.8", then ran npm install in order to install any changes. Following the Next.js Migration Guide provided, I also ran two codemods (next-image-to-legacy-image and next-image-experimental) for safely upgrading the respective imports in order to maintain the same behavior and functionalities previously in Next.js 12.3. I also ensured that all client-side rendering functionalities were working correctly in version 13.5 and optimized the application for improved performance.
How to Test
Run the application from the local development server using the command "npm run dev: all" in the terminal. Test any of the features of the application to ensure that client side rendering functionalities are working as expected.
Unit Tests
Documentation Updates