Skip to content

Version Packages - #187

Merged
y0u-0 merged 1 commit into
mainfrom
changeset-release/main
Oct 10, 2026
Merged

y0u-0 merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish 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

legend-doctor@0.6.4

Patch Changes

  • 67ef894: Review props that a memoized child re-renders for. A stabilize-memo-prop candidate fires when an owner passes a memo, Legend observer, or MobX observer child, alone or composed with forwardRef, an inline function, object, array, or element, and the owner also renders for state or a useValue subscription the element never reads. The child is resolved through imports, re-exports, star exports, and default exports, and a memo with its own comparator is skipped. Project hooks are followed to the values they return. The finding names the props to wrap in useCallback or useMemo or to move to module scope, and lists every input whose identity stays unproven. It is always a candidate, because a child that reads a global its owner mutates before forcing a render needs those renders. Components the React Compiler compiles are skipped.
  • e29e562: Keep state as React state when a use-observable or move-state-down cut would skip only a trivial owner render. Outside the leaf that reads or carries the value, fewer elements than a compact owner must remain, none repeated, each a host element or a resolved child that calls only built-in reads and renders unrepeated host elements, and the owner must call nothing but read-only projections and core React hooks. Work in event handlers, commit callbacks, deferred schedulers, and useMemo factories does not count, since it does not re-run on the update. Repeated leaves, custom-hook owners, keyed leaves, and context clusters keep their cut, and a cluster converts only when every member's remainder is trivial.

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 61e336f to 2ea208c Compare October 10, 2026 16:14
@y0u-0
y0u-0 merged commit 9f65dff into main Oct 10, 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.

1 participant