Skip to content

upgrade: resize-observer package upgrade for Solid 2.0#858

Merged
davedbase merged 12 commits into
solidjs-community:nextfrom
davedbase:update/v2/resize-observer
May 16, 2026
Merged

upgrade: resize-observer package upgrade for Solid 2.0#858
davedbase merged 12 commits into
solidjs-community:nextfrom
davedbase:update/v2/resize-observer

Conversation

@davedbase
Copy link
Copy Markdown
Member

Migrates @solid-primitives/resize-observer to Solid.js v2.0 (beta.10). Updates peer/dev deps, converts both createEffect usages to the Solid 2.0 split compute/apply pattern, moves isServer to @solidjs/web, and fixes the hydration guard (sharedConfig.hydrating). Tests updated to use flush() for explicit effect scheduling, onSettled in place of onMount, and the new store setter function API.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 3, 2026

🦋 Changeset detected

Latest commit: da5c3f1

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

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

@davedbase davedbase changed the title Adapt to Solid 2.0 beta 10 upgrade: resize-observer package upgrade for Solid 2.0 May 3, 2026
@davedbase davedbase added this to the Solid 2.0 Migration milestone May 3, 2026
@davedbase davedbase marked this pull request as ready for review May 8, 2026 21:26
Comment thread packages/resize-observer/src/index.ts Outdated
Comment thread packages/resize-observer/src/index.ts
Comment thread packages/resize-observer/src/index.ts Outdated
Comment thread packages/resize-observer/test/index.test.ts
@davedbase davedbase merged commit 763379b into solidjs-community:next May 16, 2026
@davedbase davedbase deleted the update/v2/resize-observer branch May 16, 2026 20:42
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.

2 participants