Skip to content

Bump to MobX 7 and mobx-react-lite 5 #157

Closed

Description

@jtklein-agents

Parent

#118

What to build

The page store runs on the latest MobX 7 with the matching mobx-react-lite 5, the version that supports the React version the page uses. The app behaves exactly as before.

Cut the worktree from the spec's feature branch spec/118-page-store-mobx-7 and open the pull request into it.

Acceptance criteria

  • mobx is on the latest 7 and mobx-react-lite on the latest 5, moved in the same change, with yarn.lock updated.
  • The one API rename the store needs lands in the same change: observable.ref becomes observableRef.
  • The async-computed helper package the run imports still works on MobX 7, or is bumped or replaced in this change with the run's behaviour unchanged.
  • A new action warning that MobX 7 surfaces (it also checks Map and Set changes) is fixed by making the member an action or by runInAction; there is no configure call.
  • No panel changes.
  • The coverage tests and the parity test pass.
  • Jest, lint, the typecheck baseline check and the end-to-end suite pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions