Skip to content

Version Packages#4656

Merged
kubk merged 1 commit into
mainfrom
changeset-release/main
Jun 3, 2026
Merged

Version Packages#4656
kubk merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 27, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

mobx@6.16.0

Minor Changes

  • 6b3fb0ee725c0521bbaf7ba901a30261472a0e71 #4639 Thanks @ashishkr96! - feat(mobx): make the 2022.3 @computed decorator lazy. ComputedValue is now created on first read of the decorated getter rather than eagerly during instance construction, avoiding wasted allocations for getters that are never used. On a 50k-instance × 10-getter class with one read per instance this cuts construction heap by ~50% and construction time by ~25%; the steady-state read path is unchanged. Closes @computed decorator should be lazy #4616.

  • f0c68749428fd4d3bba48e9685e44fd1ddbbee76 #4658 Thanks @ashishkr96! - feat(mobx): make the 2022.3 @observable accessor decorator lazy. ObservableValue is now created on first read/write/observe of the decorated accessor rather than eagerly during instance construction, avoiding wasted allocations for fields that are never touched. On a 50k-instance × 10-field class with sparse access (1 of 10 fields read per instance), this cuts construction heap by ~82% and construction time by ~86% versus the eager path. Follow-up to feat(mobx): make 2022.3 @computed decorator lazy #4639.

Patch Changes

mobx-undecorate@1.3.1

Patch Changes

@github-actions github-actions Bot force-pushed the changeset-release/main branch from c4e5f25 to c0bd464 Compare May 27, 2026 08:38
@github-actions github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 96547f6 to 313177e Compare May 31, 2026 14:58
@github-actions github-actions Bot force-pushed the changeset-release/main branch from 313177e to 14fd664 Compare June 3, 2026 17:23
@kubk kubk merged commit 2b1a51f into main Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@computed decorator should be lazy

1 participant