Skip to content

Conversation

@kwinto
Copy link
Collaborator

@kwinto kwinto commented Oct 21, 2025

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

@kwinto kwinto requested review from Copilot and sushmi21 October 21, 2025 15:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-extension package 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.

@kwinto kwinto marked this pull request as draft October 21, 2025 15:02
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