Skip to content

Migrate immutable@3.8.2 → frozen objects / Redux Toolkit #4875

Description

@drernie

Sub-task of #4869.

Why

`immutable@3.8.2` is ancient (current major is v5). 9 import sites in `catalog/app/`. Pulled in primarily for redux-immutable interop, which itself is unmaintained.

Scope

  • Identify the 9 import sites and what they use (`Map`, `List`, `fromJS`, etc.).
  • Replace with frozen plain objects + RTK patterns where reducers use it, or with native arrays/Maps where data structures use it.
  • Drop `immutable` and `redux-immutable` from `catalog/package.json`.

Effort

~3–4 hours, incremental: one reducer/file at a time, run tests after each.

Risk

Medium — Redux state shape changes need care. Best done as a dedicated PR with no other changes mixed in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions