Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 736 Bytes

File metadata and controls

23 lines (14 loc) · 736 Bytes

Demo: infinite-scroll-hooks

Open in CodeSandbox

This project is a demo to show how to use the Infinite Scroll Hooks available in the @frontity/hooks package

Have a special look at the src/components/list/list.js to see how to use the useArchiveInfiniteScroll hook

The component src/components/post/post-list.js shows how to use the usePostTypeInfiniteScroll hook

Install

npm install

Run the app

npx frontity dev

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