Skip to content

Convert MFEs from Redux to React Query #450

@tonybusa

Description

@tonybusa

After building out the work in this ticket Unit testing and general improvements #409, we recognized that there is an expectation for Open edX to use react query.

While there are still some PRs in flight that are useful, we're acknowledging that the work to replace Redux's connect HOC (Higher-Order Component) with React Redux Hooks useSelector() and useDispatch() involves converting a lot of class components to functional components, which adds complexity just for refactoring Redux, when the end goal is to use React Query.

Furthermore, this will remove the need to update tests multiple times when converting from connect to Redux Hooks, as mentioned in the last paragraph of this ticket.

So this parent ticket is to track the conversion of frontend-app-* from Redux (in any capacity) to React Query, and breaking down that work into sub-issues as much as possible, per repository.

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

In Progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions