Skip to content

Conversation

@MichaelSun48
Copy link
Contributor

fixes SENTRY-3MZS

(hopefully)

This PR updates the useMemo in the debounce function that updates Issue Views to not recreate itself upon page filter changes. Instead, it takes those page filters as parameters.

We were seeing cases where the request was being sent in very rapid succession (<200ms apart) despite the debouncing, so one explanation might be that the denounced function is being recreated too frequently, thus "resetting" the timer.

@MichaelSun48 MichaelSun48 requested a review from a team as a code owner January 31, 2025 19:40
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 31, 2025
@MichaelSun48 MichaelSun48 merged commit c9f2d7b into master Jan 31, 2025
42 checks passed
@MichaelSun48 MichaelSun48 deleted the msun/issueViews/fixDebounceTimerIssue branch January 31, 2025 20:07
andrewshie-sentry pushed a commit that referenced this pull request Feb 5, 2025
…4381)

fixes SENTRY-3MZS

(hopefully) 

This PR updates the useMemo in the debounce function that updates Issue
Views to not recreate itself upon page filter changes. Instead, it takes
those page filters as parameters.

We were seeing cases where the request was being sent in very rapid
succession (<200ms apart) despite the debouncing, so one explanation
might be that the denounced function is being recreated too frequently,
thus "resetting" the timer.
@github-actions github-actions bot locked and limited conversation to collaborators Feb 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants