Skip to content

upgrade: memo and destructure packages upgrade for Solid 2.0#890

Draft
davedbase wants to merge 2 commits into
solidjs-community:nextfrom
davedbase:update/v2/memo
Draft

upgrade: memo and destructure packages upgrade for Solid 2.0#890
davedbase wants to merge 2 commits into
solidjs-community:nextfrom
davedbase:update/v2/memo

Conversation

@davedbase
Copy link
Copy Markdown
Member

@davedbase davedbase commented May 11, 2026

@solid-primitives/memo`:

  • createDebouncedMemo / createThrottledMemo sections: changed from "deprecated" to "Removed in v2", linking to @solid-primitives/schedule with a note that it isn't yet updated for Solid 2.0
  • Added a new createAsyncMemo section: "Removed in v2", explaining that createResource no longer exists and pointing to the Solid 2.0 alternatives
  • createLazyMemo "Not ownerless" section: replaced with "Auto-disposal and recomputation" — the v2 native createMemo({ lazy: true }) behavior, including the note that prev resets to undefined after a full unsubscribe/resubscribe cycle
  • "No equals" section: tightened the prose to match the v2 pull-based rationale

This completes the deprecation of create of previously primitives but I'm questioning if they should probably be brought back. Looking for suggestion and confirmation that this is indeed the correct path foward.

@solid-primitives/destructure:

  • Added pnpm install line (was missing)
  • Added a Solid 2.0 requirement callout
  • Documented the two new options (name, equals) that were previously inherited implicitly from `MemoOptions

@davedbase davedbase added this to the Solid 2.0 Migration milestone May 11, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 11, 2026

⚠️ No Changeset found

Latest commit: 4df3f2a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant