jaredLunde / jaredLunde/masonic

For the infinite scrolling feature, can add custom component when it reaches to the last item?

Open
#168 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
TypeScript
Stars
1.4k
Forks
63
PR merge metrics
No merged PRs in 30d

Description

Currently I am using the the `useInfiniteLoader` function, have read the doc but I cannot see props to detect whether I can add the custom component(eg. a text component indicate users that it has reached the end / still loading for the new content...) when the user has scrolled to the end of the scrollable content.

Do I have to handle it by myself or is there any workaround? Thank you!

Contributor guide

Open the contributing guide

Research direction

Start with the useInfiniteLoader entry point and its documentation to understand what loading and end-of-content state it exposes. Clarify whether the requested behavior needs a custom end component, a loading component, or both, then inspect the relevant infinite-scrolling examples or tests; the payload does not name a file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.