Skip to content

Commit 629b131

Browse files
authored
Update README to simplify bundle size information (#774)
Removed unnecessary badge images for bundle sizes from the README.
1 parent 87c8e4e commit 629b131

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎README.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ to tell you when an element enters or leaves the viewport. Contains [Hooks](#use
2424
[Jest](https://jestjs.io/) or [Vitest](https://vitest.dev/)
2525
- 🌳 **Tree-shakeable** - Only include the parts you use
2626
- 💥 **Tiny bundle** - Around **~1.15kB** for `useInView` and **~1.6kB** for
27-
`<InView>` ![useInView](https://img.shields.io/bundlejs/size/react-intersection-observer?exports=useInView&externals=react&format=both&label=useInView) ![InView](https://img.shields.io/bundlejs/size/react-intersection-observer?exports=InView&externals=react&format=both&label=InView)
28-
![useOnInView](https://img.shields.io/bundlejs/size/react-intersection-observer?exports=useOnInView&externals=react&format=both&label=useOnInView)
27+
`<InView>`
2928

3029
[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/thebuilder/react-intersection-observer)
3130

0 commit comments

Comments
 (0)