Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

Infinite scroll demo using the IntersectionObserver API

A quick demonstration of how to do make an infinitely scrolling page using the Intersection Observer API and React hooks. Play around with it here. Read the accompanying blog post here.

Features

  • Intersection Observer API
  • React Refs for DOM referencing
  • A couple of built-in React hooks a custom useIntersecting hook

Installation

  • git clone https://github.com/sroelants/intersection_observer_demo.git
  • cd intersection_observer_demo/
  • npm install
  • npm start

About

A demo of how to use the Intersection Observer API with React hooks, with accompanying blog post.

Resources

Releases

No releases published

Packages

No packages published