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 notifications being unnecessarily redrawn on state change #15312

Merged

Conversation

ClearlyClaire
Copy link
Contributor

The excluded type computation for notifications was un-memoizable, so the full computation was performed each time, re-rendering the list of notifications although none of them changed. This happened at each state change, including each keypress.

@Gargron Gargron merged commit 9669167 into mastodon:master Dec 9, 2020
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