Skip to content

Conversation

@stasel
Copy link
Member

@stasel stasel commented Oct 27, 2025

prop-types is no longer supported from React 19+

@stasel stasel requested a review from Copilot October 27, 2025 10:05
Copy link

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 removes the prop-types dependency and updates several development dependencies to newer versions. The removal of prop-types aligns with the project's adoption of React 19, which has built-in type checking through TypeScript.

Key changes:

  • Removed prop-types package and all PropTypes definitions from components
  • Updated build tooling (@vitejs/plugin-react, vite) to newer major versions
  • Updated React-related ESLint plugins and disabled prop-types linting rule

Reviewed Changes

Copilot reviewed 5 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
client/src/components/Input.jsx Removed PropTypes import and validation for Input component
client/src/AppWrapper.jsx Removed PropTypes import and validation for AppWrapper component
client/package.json Removed prop-types dependency and updated development dependencies
client/eslint.config.js Disabled react/prop-types ESLint rule
README.md Removed prop-types from documentation
Files not reviewed (1)
  • server/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@stasel stasel merged commit 5d173d3 into develop Oct 27, 2025
2 checks passed
@stasel stasel deleted the update-oct-2025 branch October 27, 2025 10:06
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