Repository navigation
Bump to MobX 6 with decorators kept (#146) - #190
Merged
jtklein-agents merged 3 commits intoNov 15, 2026
Merged
Conversation
mobx 6.16 and mobx-react-lite 4.1; makeObservable( this ) in every decorated class, override on the three subclass members that replace a parent's, define semantics for class fields in Babel, Jest and tsconfig. computed-async-mobx 7 mixes decorators with annotations, which MobX 6 rejects, so Run uses a small local promisedComputed on mobx-utils 6. MobX 6 passes the previous value, not the reaction, as the second effect argument; Partition's one-shot reaction takes the third. StoreBase.dispose is a method so Alignment's decorated dispose does not redefine a field. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The Jest types commit resolved them, so typecheck:baseline exited 1 on unused baseline lines. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The spec branch lacks the Jest types, so CI still reports them; the local node_modules came from master and hid them. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #146
Summary
MobX 6 behaviour changes handled:
computed-async-mobx7 mixes decorators with annotations, which MobX 6 rejects, so the run uses the local helper.jest/setup.jsgives the default test bridge acheckOutput.scripts/typecheck-baseline.txtdrops two staleApp.test.jslines so the check exits 0.Evidence
Cannot apply '@computed' to 'RaxmlNgModelASC.prototype.notAvailable'andmakeObservable second arg must be nullish when using decorators.After: Jest 61 suites / 451 tests pass (coverage and parity tests included),
yarn lintclean,typecheck:baselineexits 0,yarn test:e2e3 passed.Merge Danger
Door: two-way
Blast Radius: page store
Targets the spec feature branch, not
master. Intermediate step: the app behaves as before, no panel changes.🤖 Generated with Claude Code