The react-scrollytelling library is designed to seamlessly integrate with React and optimize the scroll tracking performance.
You can effortlessly monitor which sections your readers are engaging with. It's perfectly suited for content with multiple sections, like visual news, and it also provides a smooth and engaging user experience.
Copy .env.example to .env and set up the variables.
yarn devOpen http://localhost:3600/react-scrollytelling to develop
A simple Vite app at apps/e2e renders a grouped scrolling demo for e2e testing.
pnpm --filter e2e devOpen http://localhost:3456 to view the app.
To run the Playwright end-to-end tests:
pnpm test:e2eTo run the tests with Playwright UI:
pnpm test:e2e:ui