openedx / openedx/frontend-app-learning

Convert remaining small / api-only features to React Query

Open
#1,973 0 comments 0 reactions 1 assignee View on GitHub

@brian-smith-tcril is already working on this.

Since Aug 5, 2026.

Dominant language
JavaScript
Stars
70
Forks
335
Avg merge
1d 17h
Merged PRs (30d)
35

Description

Part of #1946 — Redux → React Query migration (Stage 1).

Goal: convert the remaining small, self-contained features to React Query — a catch-all for conversions not owned by another sub-issue.

Scope note: the features currently here use no Redux, so converting them removes no reducer — it is an optional React Query caching/dedupe improvement, not de-Redux work. Keep this issue scoped to whatever isn't covered elsewhere; prune as items move.

Current contents

  • courseware/course/celebration (single POST)
  • alerts/enrollment-alert (api-only)
  • preferences-unsubscribe/data (query + mutation)
  • instructor-toolbar/masquerade-widget/data (query + mutation; its data/ is already just api.ts)

Explicitly not here

  • recommendations — done in the infrastructure / pattern-setter issue.
  • bookmark — moves to the courseware/data issue (its bookmarked state lives in the shared courseware units model read by UnitTitleSlot / UnitButton, so it can't be cut cleanly until then).

Verify: each converted feature works against mocked queries; no new Redux introduced.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.