Skip to content
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

feat: update react & react-dom to v17 #882

Merged
merged 7 commits into from
Aug 23, 2023

Conversation

Mashal-m
Copy link
Contributor

@Mashal-m Mashal-m commented Jun 12, 2023

Ticket

Upgrade React JS to v17

Description

  • Updated react & react-dom to v17, along with @tinymce/tinymce-react to respective compatible versions
  • Since Enzyme does not provide support React 17 (enzymejs/enzyme#2429) or 18 (enzymejs/enzyme#2524) itself we switched to community-supported project that aim to provide compatibility between Enzyme and React 17, replacing enzyme-adapter-react-16 with @wojtekmaj/enzyme-adapter-react-17
  • Updated edx packages @edx/frontend-platform, @edx/frontend-component-footer-edx

@codecov
Copy link

codecov bot commented Jun 12, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.03% 🎉

Comparison is base (ca17123) 67.06% compared to head (ace31df) 67.09%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #882      +/-   ##
==========================================
+ Coverage   67.06%   67.09%   +0.03%     
==========================================
  Files         128      128              
  Lines        3206     3206              
  Branches      934      934              
==========================================
+ Hits         2150     2151       +1     
+ Misses       1007     1006       -1     
  Partials       49       49              

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Mashal-m Mashal-m marked this pull request as ready for review July 5, 2023 11:33
@Mashal-m
Copy link
Contributor Author

Mashal-m commented Aug 2, 2023

@Ali-D-Akbar could you please merge this as well, we do not have access.

@@ -162,7 +162,6 @@ exports[`CreateCoursePage renders page correctly with course create error 1`] =
"timeout": 300,
"unmountOnExit": false,
},
"displayName": "Fade",
Copy link
Contributor

Choose a reason for hiding this comment

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

any ideas why this attr has been removed from various snapsots?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Snapshots are updating when we update the @edx/paragon version from 20.39.3 to 20.40.0.

@Mashal-m Mashal-m force-pushed the mashal-m/react-upgrade-to-v17 branch from 44606ed to c7e647a Compare August 23, 2023 06:12
@DawoudSheraz DawoudSheraz merged commit 92095ef into openedx:master Aug 23, 2023
5 checks passed
zawan-ila added a commit to zawan-ila/frontend-app-publisher that referenced this pull request Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants