zygisS22 / intersectionObserverApi

Basic examples created in React using the intersection observer API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intersection observer API using REACT

IO Api gif

This repository was created for the following Article.

inside /src you can find two files:

  • IO-Api-basic.js - Basic example of intersection observer using react.
  • IO-Api-hook.js - same example but with hooks.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

About

Basic examples created in React using the intersection observer API


Languages

Language:JavaScript 43.0%Language:HTML 32.6%Language:CSS 24.4%