You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
setValue is a prototype method the outgroup option overrides #142
A behavioural rewrite that already works on MobX 5: MobX 6 and 7 reject the outgroup option's redeclared arrow action, so setValue becomes a prototype method on the option base and the outgroup option replaces it with its own method. The outgroup's "none" behaviour is unchanged.
Cut the worktree from the spec's feature branch spec/118-page-store-mobx-7 and open the pull request into it.
Acceptance criteria
setValue on the Option base class is a prototype method and still an action.
The outgroup option replaces it with its own prototype method; choosing a taxon clears "none" and choosing "none" clears the taxa, as before.
Every call site calls setValue on its option; none passes it unbound. This is checked across the page, not assumed.
The partition's reset is passed unbound and stays an arrow field.
MobX stays on 5 and the decorators stay.
The coverage tests and the parity test pass unchanged.
Jest, lint, the typecheck baseline check and the end-to-end suite pass.
Activity
jtklein-agents commentedon Nov 15, 2026
Merged in #186 into spec/118-page-store-mobx-7.