Skip to content

Update dependency react-intersection-observer to v10#739

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/react-intersection-observer-10.x
Open

Update dependency react-intersection-observer to v10#739
renovate[bot] wants to merge 1 commit intomainfrom
renovate/react-intersection-observer-10.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 14, 2026

This PR contains the following updates:

Package Change Age Confidence
react-intersection-observer ^9.5.2^10.0.0 age confidence

Release Notes

thebuilder/react-intersection-observer (react-intersection-observer)

v10.0.3

Compare Source

What's Changed

New Contributors

Full Changelog: thebuilder/react-intersection-observer@v10.0.2...v10.0.3

v10.0.2

Compare Source

What's Changed

New Contributors

Full Changelog: thebuilder/react-intersection-observer@v10.0.0...v10.0.2

v10.0.0

Compare Source

Based on the great work in #​718 by @​jantimon - This release adds the new useOnInView hook.

✨ New
  • useOnInView hook — a no-re-render alternative to useInView that delivers (inView, entry) to your callback while returning a ref you can attach to any element. Designed for tracking, analytics, and other side effect heavy workloads where state updates are unnecessary.
  • IntersectionChangeEffect / IntersectionEffectOptions types — exported helper types that describe the new hook’s callback and options surface.
  • Storybook playground + documentation — new story, README section, and JSDoc example demonstrating how to use useOnInView.
⚠️ Breaking Changes
  • useInView, useOnInView, and <InView> now ignore the browser’s initial inView === false emission for onChange events, so handlers only fire once a real visibility change occurs, while still reporting all subsequent enter/leave transitions.
🧪 Testing
  • Added a dedicated Vitest suite for useOnInView, covering thresholds, triggerOnce, skip toggling, merged refs, and multiple observers on the same node.

What's Changed

New Contributors

Full Changelog: thebuilder/react-intersection-observer@v9.16.0...v10.0.0


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link

vercel bot commented Feb 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
web-components Ready Ready Preview, Comment Mar 4, 2026 5:41pm

Request Review

@github-actions
Copy link
Contributor

To increment version on merge, please add one of patch (default), minor, or major label to this PR.

@renovate renovate bot force-pushed the renovate/react-intersection-observer-10.x branch from b883893 to 3aae82e Compare March 4, 2026 17:39
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.

0 participants