kripod / kripod/react-hooks

Investigate scroll event debouncing

Open
#27 2 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
TypeScript
Stars
557
Forks
25
PR merge metrics
No merged PRs in 30d

Description

## Motivation

Scroll events may be fired at a high frequency, without taking unwanted framerate drops into account.

## Details

A similar problem is present for virtual scrolling/windowing approaches. We should follow the thread below for further information:

- ["Ideally there would be some way to tell the browser to fire scroll events synced to the frame rate rather than sending them asynchronously (and probably debouncing)" – Devon Govett](https://twitter.com/devongovett/status/1175094567273500672)

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is identified in the issue. Start by reviewing the linked discussion and the mention of virtual scrolling/windowing; done means defining an actionable approach for handling high-frequency scroll events without unwanted frame-rate drops.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.