jaredLunde / jaredLunde/masonic
Infinity Scroll stuck on the end of the page and keep fetching data
Open
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Description
I am new to React and Trying to implement infinity scroll with `useInfinityLoader` Hook. It works fine when on the page I implement but if I change the page and back to the original one Its struck on the bottom of the page and keep fetching more until it exhausts all the data.
Contributor guide
Research direction
Start by reproducing the navigation sequence described around the useInfinityLoader hook: load a page, navigate away, then return and observe the requests. Inspect the hook's behavior across that transition and add coverage showing that returning to the page does not continuously fetch until the data is exhausted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100