Skip to content

upgrade: intersection-observer package upgrade for Solid 2.0#845

Merged
davedbase merged 15 commits into
solidjs-community:nextfrom
davedbase:update/v2/intersection-observer
May 14, 2026
Merged

upgrade: intersection-observer package upgrade for Solid 2.0#845
davedbase merged 15 commits into
solidjs-community:nextfrom
davedbase:update/v2/intersection-observer

Conversation

@davedbase

@davedbase davedbase commented Apr 20, 2026

Copy link
Copy Markdown
Member
  • Update peer deps to solid-js 2.0.0-beta.7
  • Replace onMount/Setter with createStore + pending state (NOT_SET sentinel)
  • Curried add(callback)(el) form for AddViewportObserverEntry
  • Remove deprecated makeIntersectionObserver and JSX directive
  • WeakMap for element→callback tracking, full test suite for new API

@changeset-bot

changeset-bot Bot commented Apr 20, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: aec4664

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 marked this pull request as draft April 20, 2026 02:27
@davedbase davedbase changed the base branch from main to next April 21, 2026 01:47
@davedbase davedbase added this to the Solid 2.0 Upgrade milestone Apr 21, 2026
@davedbase davedbase marked this pull request as ready for review May 8, 2026 21:24
Comment thread packages/intersection-observer/src/index.ts Outdated
Comment thread packages/intersection-observer/src/index.ts Outdated
@davedbase davedbase merged commit 51aca78 into solidjs-community:next May 14, 2026
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