jaredLunde / jaredLunde/masonic
For the infinite scrolling feature, can add custom component when it reaches to the last item?
- 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
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