Skip to content

FED-3528 React 18 dual support #84

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

Open
wants to merge 37 commits into
base: master
Choose a base branch
from

Conversation

sydneyjodon-wk
Copy link
Contributor

@sydneyjodon-wk sydneyjodon-wk commented May 6, 2025

Motivation

We'll need to set up dual support for React 17 and 18 in react_testing_library (RTL).

Changes

  • Addressed the last couple bits of feedback on React 18 #81 and FED-3273 SPIKE - do not merge: React 18 dual versions #82
  • Updated tests to run on both React 17 and 18
  • Revert React 17 JS bundle back to the one from master with a couple updates to the way APIs are exported to get them to work with the dual version support
    • also added regression test for the specific issue that caught this
  • Added a CI check to verify that all JS bundle updates are checked in

Release Notes

Review

See CONTRIBUTING.md for more details on review types (+1 / QA +1 / +10) and code review process.

QA Checklist

Merge Checklist

While we perform many automated checks before auto-merging, some manual checks are needed:

  • A Frontend Frameworks Design member has reviewed these changes
  • There are no unaddressed comments - this check can be automated if reviewers use the "Request Changes" feature
  • For release PRs - Version metadata in Rosie comment is correct

aaronlademann-wf and others added 21 commits October 22, 2024 11:54
Derived from building master (3.0.2) with the following changes:

    diff --git a/js_src/rollup.config.js b/js_src/rollup.config.js
    index 38448f5..e8432dfc 100644
    --- a/js_src/rollup.config.js
    +++ b/js_src/rollup.config.js
    @@ -68 +68 @@ export default (commandFlags) => {
    -        format: 'umd',
    +        format: 'esm',
@sydneyjodon-wk sydneyjodon-wk marked this pull request as ready for review May 8, 2025 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants