Upgrade JSS apps to JSS 22.6
Sitecore JavaScript Rendering SDK version 22.6 requires you to make some modifications to your apps.
-
If you haven't already done so, upgrade your app to JSS 22.5.
-
Familiarize yourself with the JSS 22.6 release notes to ensure you understand the implications of upgrading.
This topic describes how to:
To update your JSS Next.js applications, follow the upgrade guide from JSS 22.5 to 22.6 for JSS Next.js apps instead of this topic.
Update application dependencies
For your upgraded applications to work correctly, you must update JSS dependencies.
To update your JSS dependencies:
-
In your existing application's
package.jsonfile, update every@sitecore-jsspackage to version~22.6.0. -
Install the dependencies with the following command:
RequestResponsenpm install