This project is a simple infinite scroll using react-stately and react-intersection-observer. It uses the Pexels API to fetch images.
- Clone the repository
- Run
npm install
- Create a
.env
file with the following:VITE_PEXELS_API_KEY=<your-pexels-api-key>
- Run
npm run dev
This code was sourced from this tutorial by Syntax.