Draft
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the project from React 18 to React 19 and updates several related dependencies to ensure compatibility and address security vulnerabilities. The main focus is on updating the Redux ecosystem and development tooling to work with React 19.
Key Changes
- Updated React and React DOM peer dependencies to prioritize version 19
- Upgraded Redux Toolkit, React-Redux, and Redux to their latest major versions compatible with React 19
- Replaced deprecated
redux-devtools-extensionpackage with the modern@redux-devtools/extension
Reviewed Changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Updated React to v19, upgraded Redux ecosystem packages (@reduxjs/toolkit, react-redux, redux), replaced deprecated devtools package, removed unused dependencies, and adjusted peer dependencies to prioritize React 19 |
| src/webchat/store/store.ts | Updated import statement to use the new @redux-devtools/extension package instead of the deprecated redux-devtools-extension |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
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.
Related PR: Cognigy/chat-components#181
This PR updates React to version 19. We also update many dependencies to make it work and close existing vulnerabilities.
How to Test:
TODO