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

React 17 upgrade #277

Open
15 of 41 tasks
abdullahwaheed opened this issue Jun 9, 2023 · 1 comment
Open
15 of 41 tasks

React 17 upgrade #277

abdullahwaheed opened this issue Jun 9, 2023 · 1 comment
Assignees
Labels
maintenance Routine upkeep necessary for the health of the platform
Milestone

Comments

@abdullahwaheed
Copy link

abdullahwaheed commented Jun 9, 2023

Abstract

Most of the MFEs of edX are currently using React JS v16. In order to use latest React JS, we are planning to upgrade React JS to v17.

Context & Background

React 17 doesn’t add any new developer-facing features, so its upgrade might not cause any breaking changes. Our end goal is to upgrade React to v18 but v18 no longer support enzyme, so we are upgrading to React 17 and then we’ll migrate from enzyme.

Scope & Approach

In each MFE/library, with React, React DOM 17 upgrade, we may need to upgrade following

  • in case of Typescript, install @types/react@17.0.0
  • If you are using React Testing Library, you would want to be under 12.1.5, which is the latest version that supports React < 18.
  • Replace enzyme-adapter-react-16 with @wojtekmaj/enzyme-adapter-react-17 since enzyme doesn't provide support for react 17.
  • react-test-renderer should also be updated.

Value & Impact

After this upgrade, we'll get one step closer to use latest React JS across the board

Milestones and/or Epics

edx/upgrades#390
React 17 Upgrade

Named Release

Q

Timeline

Tentative End Date: July 31, 2023

Proposed By

2u

Tasks

Tasks

@github-actions
Copy link

github-actions bot commented Jun 9, 2023

Thanks for your submission, @openedx/open-edx-project-managers will review shortly.

@github-actions github-actions bot added the maintenance Routine upkeep necessary for the health of the platform label Jun 9, 2023
@jmbowman jmbowman added this to the Quince milestone Jun 9, 2023
This was referenced Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Routine upkeep necessary for the health of the platform
Projects
Status: Being Developed
Development

No branches or pull requests

4 participants