Skip to content

[Snyk] Upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7 - #28

Open
mhill-os wants to merge 42 commits into
masterfrom
snyk-upgrade-468bb619571591d54a0f1a5d72740c6d
Open

[Snyk] Upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7#28
mhill-os wants to merge 42 commits into
masterfrom
snyk-upgrade-468bb619571591d54a0f1a5d72740c6d

Conversation

@mhill-os

Copy link
Copy Markdown

snyk-top-banner

Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 20 versions ahead of your current version.

  • The recommended version was released 22 days ago.

Breaking Change Risk

Merge Risk: High

Notice: This assessment is enhanced by AI.


Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
@mhill-os

Copy link
Copy Markdown
Author

Merge Risk: High

This is a major upgrade from React v16 to v19, which includes multiple significant and breaking changes. A direct upgrade requires substantial code modifications and careful testing. It is highly recommended to upgrade incrementally if possible (16 -> 17 -> 18 -> 19) to isolate issues.

Key Breaking Changes:

React 17 (from v16):

  • Event Delegation: Events are no longer attached at the document level but at the React root container. This can break manual event listeners attached to document that expect to catch React events.
  • Event Pooling Removed: e.persist() is no longer necessary as SyntheticEvent objects are no longer pooled. This is a behavioral change but is unlikely to break most applications.
  • Effect Cleanup Timing: The useEffect cleanup function now runs asynchronously, which can affect logic that relies on synchronous cleanup.

React 18 (from v17):

  • New Root API: ReactDOM.render is deprecated and replaced by ReactDOM.createRoot. Using the old API will keep the app in React 17 compatibility mode and prevent the use of new concurrent features. This is a mandatory code change.
  • Automatic Batching: State updates inside promises, setTimeout, and native event handlers are now automatically batched, reducing re-renders but potentially changing application behavior that relied on synchronous updates.
  • Stricter Strict Mode: In development, components will be automatically unmounted and remounted to help find bugs related to effect cleanup.
  • IE11 Support Dropped: Support for Internet Explorer 11 is removed.

React 19 (from v18):

  • ref is now a prop: forwardRef is no longer needed to pass a ref to a component, simplifying component composition.
  • Legacy APIs Removed: ReactDOM.render, ReactDOM.hydrate, and propTypes are fully removed.
  • New Hooks and Actions: Introduces useActionState, useOptimistic, and use for managing form state, optimistic updates, and reading promises/context during render.

Recommendation: This upgrade spans three major versions with fundamental API changes. A direct upgrade is high-risk and will require significant refactoring. Plan for a staged migration, addressing the breaking changes for each major version sequentially. Utilize the provided codemods to automate some of the required changes, such as updating to the new Root API.

Sources:

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@mhill-os

mhill-os commented Jun 26, 2026

Copy link
Copy Markdown
Author

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

snyk-bot added 27 commits June 27, 2026 17:43
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
snyk-bot added 14 commits July 29, 2026 04:06
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Snyk has created this PR to upgrade org.webjars.npm:react-dom from 16.10.2 to 19.2.7.

See this package in maven:
org.webjars.npm:react-dom

See this project in Snyk:
https://app.eu.snyk.io/org/777fa588-a023-437a-b50b-75119de43f30/project/1f5c76e8-6f42-45c2-895b-957e44d5fb31?utm_source=github-enterprise&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants