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 · 2 comments
Open
15 of 41 tasks

React 17 upgrade #277

abdullahwaheed opened this issue Jun 9, 2023 · 2 comments
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/[email protected]
  • 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 moved this to Backlog in Open edX Roadmap Jun 9, 2023
@jmbowman jmbowman added this to the Quince milestone Jun 9, 2023
@abdullahwaheed abdullahwaheed moved this to In Progress in FED-BOM Jun 16, 2023
@abdullahwaheed abdullahwaheed moved this from In Progress to Todo in FED-BOM Jun 27, 2023
@abdullahwaheed abdullahwaheed moved this from Todo to In Progress in FED-BOM Jun 27, 2023
@jmbowman jmbowman moved this to 2023 Q3 in Platform-Core Roadmap Jul 27, 2023
@jmbowman jmbowman moved this from Backlog to In Progress in Open edX Roadmap Jul 31, 2023
@jmakowski1123 jmakowski1123 moved this to Technical Initiatives in Product Review Tracking Sep 22, 2023
@jmakowski1123 jmakowski1123 moved this from In Progress to Technical Initiatives - In Progress in Open edX Roadmap Sep 25, 2023
@abdullahwaheed abdullahwaheed moved this from In Progress to Done Development in FED-BOM Oct 10, 2023
@jmbowman jmbowman moved this from 2023 Q3 to 2023 Q4 in Platform-Core Roadmap Oct 25, 2023
@jmakowski1123 jmakowski1123 moved this from Technical Initiatives - In Progress to In Progress in Open edX Roadmap Mar 7, 2024
@feanil feanil moved this to Todo in Maintenance Jul 15, 2024
@feanil feanil moved this from Todo to In Progress in Maintenance Aug 8, 2024
@feanil
Copy link
Contributor

feanil commented Aug 8, 2024

@BilalQamar95 what's the current state of this work?

@Mashal-m Mashal-m removed their assignment Aug 21, 2024
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: In Progress
Status: Being Developed
Development

No branches or pull requests

5 participants