Skip to content

upgrade: refs package upgrade for Solid 2.0#862

Draft
davedbase wants to merge 1 commit intosolidjs-community:nextfrom
davedbase:update/v2/refs
Draft

upgrade: refs package upgrade for Solid 2.0#862
davedbase wants to merge 1 commit intosolidjs-community:nextfrom
davedbase:update/v2/refs

Conversation

@davedbase
Copy link
Copy Markdown
Member

Updated peer/dev dependencies to solid-js@^2.0.0-beta.10 and @solidjs/web@^2.0.0-beta.10

  • isServer import moved from solid-js/web@solidjs/web
  • createComputed (removed in Solid 2.0) replaced with split createEffect(compute, apply) in both Refs and Ref components; untrack() calls removed as the apply phase is implicitly untracked
  • Removed deprecated type re-exports (ResolvedChildren, ResolvedJSXElement) that were marked for deletion in the next major
  • Tests: added flush() after signal writes, { ownedWrite: true } on test signal, onMountonSettled in mergeRefs test, renderToString import updated to @solidjs/web
  • Added a package-local vitest.config.ts setting moduleName: "@solidjs/web" so JSX in test files resolves to the correct Solid 2.0 runtime (the shared config doesn't set this per-package)

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

changeset-bot Bot commented May 3, 2026

🦋 Changeset detected

Latest commit: 56f5c8a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@solid-primitives/refs Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another 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