Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: Alex Gleason <alex@alexgleason.me>
This commit is contained in:
Chad Curtis 2025-09-01 21:25:16 +00:00
parent 363b2e3ebb
commit b2cc0aef79

View File

@ -340,7 +340,7 @@ Example usage with intersection observer for automatic loading:
```tsx
import { useInView } from 'react-intersection-observer';
function PostFeed() {
function GlobalFeed() {
const { data, fetchNextPage, hasNextPage, isFetchingNextPage } = useInfinitePosts();
const { ref, inView } = useInView();