---
title: "Upgrade JSS apps to JSS 22.7"
slug: "upgrade-jss-apps-to-jss-22-7"
abstract: "How to upgrade your JavaScript Rendering SDKs to version 22.7 to benefit from the latest improvements. For React apps, this includes updating to React 19."
---
# Upgrade JSS apps to JSS 22.7

Sitecore JavaScript Rendering SDK version 22.7 requires you to make some modifications to your apps. For React apps, this will include [upgrading to React 19](https://react.dev/blog/2024/04/25/react-19-upgrade-guide).

> [!note]
> **Before you begin**
> -   If you haven't already done so, [upgrade your app to JSS 22.6](https://doc.sitecore.com/xp/en/developers/hd/22/sitecore-headless-development/upgrade-jss-apps-to-jss-22-6.html "Upgrade JSS apps to JSS 22.6").
>
> -   For React apps, we recommend you read the official release notes for [React 19](https://react.dev/blog/2024/12/05/react-19) to understand what has changed in this version.
>
> -   Familiarize yourself with the [JSS 22.7 release notes](https://github.com/Sitecore/jss/releases/tag/v22.7.0) to ensure you understand the implications of upgrading.

This topic describes how to:

:::walkthrough
1. [Update React apps](https://doc.sitecore.com/xp/en/developers/hd/22/sitecore-headless-development/upgrade-jss-apps-to-jss-22-7.html#update-react-apps)
2. [Update application dependencies](https://doc.sitecore.com/xp/en/developers/hd/22/sitecore-headless-development/upgrade-jss-apps-to-jss-22-7.html#update-application-dependencies)
:::

> [!note]
> To update your JSS Next.js applications, follow the [upgrade guide from JSS 22.6 to 22.7 for JSS Next.js apps](https://doc.sitecore.com/xp/en/developers/hd/22/sitecore-headless-development/upgrade-jss-22-6-next-js-apps-to-version-22-7.html "Upgrade JSS 22.6 Next.js apps to version 22.7") instead of this topic.

## Update React apps

To update your React applications:

1. In your existing application's `package.json` file, update the following dependencies to the specified versions:

    ```json
    "react": "^19.1.0",
    "react-dom": "^19.1.0",
    "eslint-plugin-react": "^7.37.5",
    ```

2. [Update your application's JSS package, and install dependencies](https://doc.sitecore.com/xp/en/developers/hd/22/sitecore-headless-development/upgrade-jss-apps-to-jss-22-7.html#UUID-a932eecb-0d28-74c6-db5f-50245aef4856_section-idm1853427912098058 "Update application dependencies").
3. Make all other necessary changes according to the [React 19 upgrade guide](https://react.dev/blog/2024/04/25/react-19-upgrade-guide).

## Update application dependencies

For your upgraded applications to work correctly, you must update JSS dependencies.

To update your JSS dependencies:

1. In your existing application's `package.json` file, update every `@sitecore-jss` package to version `~22.7.0`.
2. Install the dependencies with the following command:

    ```shell
    npm install
    ```