Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: incorrect "jump to bottom" unread counter #4500

Merged
merged 2 commits into from
Jan 18, 2025

Conversation

WofWca
Copy link
Collaborator

@WofWca WofWca commented Jan 17, 2025

Fix a race condition.
Closes (probably) #3978.
I am not sure if this is the cause of that issue.

This implements the pattern shown in
https://react.dev/reference/react/useEffect#fetching-data-with-effects.

FYI there are a lot more of such potential race conditions.

Fix a race condition.
Closes (probably) #3978.
I am not sure if this is _the_ cause of that issue.

This implements the pattern shown in
https://react.dev/reference/react/useEffect#fetching-data-with-effects.

FYI there are a lot more of such potential race conditions.
@WofWca WofWca merged commit e4c674f into main Jan 18, 2025
11 checks passed
@WofWca WofWca deleted the wofwca/fix-unread-badge-on-jump-to-bottom branch January 18, 2025 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants