alibaba / alibaba/hooks

[Feature Request]: useSize add throttle config

Open
#2,718 1 comment 1 reaction 0 assignees View on GitHub
v4
Dominant language
TypeScript
Stars
15k
Forks
2.8k
Avg merge
15h 7m
Merged PRs (30d)
2

Description

```ts
const size=useSize(dom,{
wait:200
})

```

Contributor guide

Open the contributing guide

Research direction

Start by locating the useSize hook and reading how it currently handles size updates. Determine where the proposed wait setting belongs and confirm that size updates are throttled according to the example before considering the work complete.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.