-
Notifications
You must be signed in to change notification settings - Fork 190
Comparing changes
Open a pull request
base repository: thebuilder/react-intersection-observer
base: v9.16.0
head repository: thebuilder/react-intersection-observer
compare: v10.0.0
- 16 commits
- 35 files changed
- 5 contributors
Commits on Mar 5, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 708946f - Browse repository at this point
Copy the full SHA 708946fView commit details -
Merge pull request #721 from thebuilder/fix/correact-package-url
chore: update package url in package.json
Configuration menu - View commit details
-
Copy full SHA for 54a8b26 - Browse repository at this point
Copy the full SHA 54a8b26View commit details
Commits on Apr 4, 2025
-
build(deps-dev): bump vite from 6.2.0 to 6.2.5
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.0 to 6.2.5. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v6.2.5/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v6.2.5/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-version: 6.2.5 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 41040ff - Browse repository at this point
Copy the full SHA 41040ffView commit details
Commits on Apr 8, 2025
-
Merge pull request #724 from thebuilder/dependabot/npm_and_yarn/vite-…
…6.2.5 build(deps-dev): bump vite from 6.2.0 to 6.2.5
Configuration menu - View commit details
-
Copy full SHA for 97bc319 - Browse repository at this point
Copy the full SHA 97bc319View commit details
Commits on Apr 30, 2025
-
build(deps-dev): bump vite from 6.2.5 to 6.2.7
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.5 to 6.2.7. - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/v6.2.7/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v6.2.7/packages/vite) --- updated-dependencies: - dependency-name: vite dependency-version: 6.2.7 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for c94e34c - Browse repository at this point
Copy the full SHA c94e34cView commit details
Commits on May 23, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 8100b8a - Browse repository at this point
Copy the full SHA 8100b8aView commit details
Commits on May 30, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 7a8215b - Browse repository at this point
Copy the full SHA 7a8215bView commit details
Commits on Jun 3, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 09beee9 - Browse repository at this point
Copy the full SHA 09beee9View commit details
Commits on Jul 12, 2025
-
Configuration menu - View commit details
-
Copy full SHA for ed58938 - Browse repository at this point
Copy the full SHA ed58938View commit details -
Initial analysis and planning for bundlephobia badge removal
Co-authored-by: thebuilder <3764345+thebuilder@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d8e9130 - Browse repository at this point
Copy the full SHA d8e9130View commit details -
Remove bundlephobia badge from README
Co-authored-by: thebuilder <3764345+thebuilder@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 7e1c314 - Browse repository at this point
Copy the full SHA 7e1c314View commit details -
Remove package-lock.json and add to .gitignore
Co-authored-by: thebuilder <3764345+thebuilder@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 23367cc - Browse repository at this point
Copy the full SHA 23367ccView commit details
Commits on Jul 13, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 1e8a3b7 - Browse repository at this point
Copy the full SHA 1e8a3b7View commit details
Commits on Oct 27, 2025
-
feat: Update dependencies (#737)
Mainly updating the dev dependencies to the latest versions.
Configuration menu - View commit details
-
Copy full SHA for 66cda4f - Browse repository at this point
Copy the full SHA 66cda4fView commit details
Commits on Oct 28, 2025
-
feat: implement the useOnInView hook (#738)
Based on the great work in #718 by @jantimon - This is an attempt to implement just the useOnInView hook, while maintaining the fallback functionality, and legacy React version support. ### ✨ 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`. ### ✨ Improvements - `useInView`, `useOnInView`, and `<InView>` now ignore the browser’s initial `inView === false` emission so handlers only fire once a real visibility change occurs, while still reporting all subsequent enter/leave transitions (including threshold arrays). - Observer cleanup logic across the hooks/components was tightened to ensure `skip` toggles and fallback scenarios re-attach correctly without losing previous state. ### 🧪 Testing - Added a dedicated Vitest suite for `useOnInView`, covering thresholds, `triggerOnce`, `skip` toggling, merged refs, and multiple observers on the same node.
Configuration menu - View commit details
-
Copy full SHA for efe59c8 - Browse repository at this point
Copy the full SHA efe59c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 901ec5e - Browse repository at this point
Copy the full SHA 901ec5eView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v9.16.0...v10.0.0