Skip to content

feat(performance): batch store notifications for fewer rerenders #1606

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

Merged
merged 3 commits into from
Apr 15, 2025

Conversation

tyleroooo
Copy link
Contributor

Raw data updates are fine to delay, so we use redux-toolkit batching to reduce the number of react re-renders to at most 4/second. All user input actions should not be batched so still respond instantly to user input.

@tyleroooo tyleroooo requested a review from a team as a code owner April 3, 2025 19:16
Copy link

vercel bot commented Apr 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
v4-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2025 7:45pm
v4-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2025 7:45pm

@tyleroooo tyleroooo changed the title feat: batch store notifications for fewer rerenders feat(performance): batch store notifications for fewer rerenders Apr 3, 2025
@tyleroooo tyleroooo merged commit 0afd80c into main Apr 15, 2025
9 checks passed
@tyleroooo tyleroooo deleted the tu/batch-updates branch April 15, 2025 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants