Skip to content

Conversation

thatblindgeye
Copy link
Contributor

What: Closes #11483 , #11369, #11368

The eslint plug from 11483 only auto-updated the MockedTableChanges file (in react-table's test-helpers)

I also ran the React 19 codemod from their upgrade guide, which only auto-updated the Alert test file's act import.

Everything else was autoupdated by the typescript React 19 codemod (I had to manually update 3 other instance of a useRef).

Additional issues:

@patternfly-build
Copy link
Contributor

patternfly-build commented Feb 6, 2025

@thatblindgeye thatblindgeye marked this pull request as ready for review February 10, 2025 14:42
@thatblindgeye thatblindgeye requested review from a team, mfrances17 and tlabaj and removed request for a team February 10, 2025 14:43
Copy link
Contributor

@mfrances17 mfrances17 left a comment

Choose a reason for hiding this comment

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

I tested this pretty thoroughly and there were no noticeable visual/behavioral issues, and no additional errors thrown in the console as a result of upgrading, so nice job. 👍

I do have a couple of comments regarding widespread use of any in these changes, which in general we should be avoiding when possible, since it's basically defeating the purpose of TS.

@tlabaj tlabaj merged commit 6cd6adf into patternfly:main Feb 12, 2025
13 checks passed
@thatblindgeye thatblindgeye linked an issue Feb 17, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants