-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Test against older versions of React #14350
Labels
proposal: not pursuing
This has gone through triaging and because of priorities or mission, we will not be pursuing this.
Comments
tay1orjones
added
the
proposal: accepted
This request has gone through triaging and we are accepting PR's against it.
label
Jul 31, 2023
Concerns with this approach that were discussed today:
Overall the consensus is that this work is not necessary at this time. Instead we will focus our efforts on fixing bugs that emerge in older versions of react as they are reported by users. That said, #13610 is still valid and should remain open and something we should prioritize. |
tay1orjones
changed the title
Test against multiple versions of React
Test against older versions of React
Jun 7, 2024
tay1orjones
added
proposal: not pursuing
This has gone through triaging and because of priorities or mission, we will not be pursuing this.
and removed
proposal: accepted
This request has gone through triaging and we are accepting PR's against it.
type: enhancement 💡
labels
Jun 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
proposal: not pursuing
This has gone through triaging and because of priorities or mission, we will not be pursuing this.
This issue will track the status of improving our test suite to include testing against multiple versions of React to ensure compatibility.
The problem
Right now the matrix of React versions officially supported in
@carbon/react
is React 16, 17, and 18.carbon/packages/react/package.json
Lines 40 to 42 in 5c26f2f
Currently, the CI checks only test against the version of React we use in development, v18.
carbon/packages/react/package.json
Lines 111 to 112 in 5c26f2f
Proposed solution
Improve our matrix of testing to include some type of testing using previous/future versions of react.
Open questions
https://github.com/SAP/ui5-webcomponents-react/pull/787/files#diff-bdd00ef7ca7fea0d5b8e26a84ec28cf441b7fd06a7f343231e8027acdfd0cb9d
@testing-library/react
work in React <18? If not, is it feasible to downgrade this dependency along with React deps without having to rewrite or modify tests or their config?@avt
tests be ran against multiple versions of react?yarn build
time with distributed caching #14244 first?Steps to ensure compatibility
The text was updated successfully, but these errors were encountered: