Skip to content

upgrade: mutation-observer package upgrade for Solid 2.0#863

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

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

Conversation

@davedbase
Copy link
Copy Markdown
Member

  • Upgrades @solid-primitives/mutation-observer to Solid.js v2.0-beta.10.
  • Replaces removed onMount with onSettled so observation begins after the component fully settles (async-aware)
  • Switches isServer import to @solidjs/web, removing the manual typeof window check
  • Guards start() against missing DOM globals in Node.js environments
  • Adds test/server.test.ts to cover SSR safety
  • Bumps peer dependencies to solid-js@^2.0.0-beta.10 and `@solidjs/web@^2.0.0-beta.10

@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: 975b175

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/mutation-observer 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