Skip to content

Add support for React 19 #3545

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 15, 2024
Merged

Add support for React 19 #3545

merged 6 commits into from
Jul 15, 2024

Conversation

nstepien
Copy link
Contributor

@nstepien nstepien commented Jul 15, 2024

This PR adds changes required to support both React 18 and React 19.

CI has been updated to run in a React 18 and React 19 matrix.
React 19 is tested by merging the react19 branch before running steps. Not sure if there's a better way.
The website job has been merged into the test job to simplify things, building the website only takes 9s anyway.
Removed CI cache usage, it seems fast enough without it.

@nstepien nstepien self-assigned this Jul 15, 2024
Copy link

codecov bot commented Jul 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.43%. Comparing base (759a3d8) to head (2ce9e9a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3545   +/-   ##
=======================================
  Coverage   97.43%   97.43%           
=======================================
  Files          47       47           
  Lines        3314     3314           
  Branches      720      719    -1     
=======================================
  Hits         3229     3229           
  Misses         85       85           
Files Coverage Δ
src/Cell.tsx 100.00% <100.00%> (ø)
src/DataGrid.tsx 99.17% <ø> (ø)
src/EditCell.tsx 98.14% <100.00%> (ø)
src/GroupCell.tsx 100.00% <100.00%> (ø)
src/GroupRow.tsx 100.00% <100.00%> (ø)
src/GroupedColumnHeaderRow.tsx 100.00% <ø> (ø)
src/HeaderRow.tsx 100.00% <ø> (ø)
src/Row.tsx 100.00% <ø> (ø)
src/SummaryCell.tsx 100.00% <100.00%> (ø)
src/SummaryRow.tsx 100.00% <100.00%> (ø)
... and 2 more

@nstepien nstepien marked this pull request as ready for review July 15, 2024 15:18
@nstepien nstepien requested a review from amanmahajan7 as a code owner July 15, 2024 15:19
@nstepien nstepien merged commit 8f2d179 into main Jul 15, 2024
3 checks passed
@nstepien nstepien deleted the support19 branch July 15, 2024 16:02
adityatoshniwal pushed a commit to pgadmin-org/react-data-grid that referenced this pull request Jul 31, 2024
* Add support for React 19

* react ci matrix

* --allow-unrelated-histories

* set up git user

* log diff with main

* merge website job into test job
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