Skip to content

Conversation

@manzt
Copy link
Contributor

@manzt manzt commented Jul 29, 2025

State was being cleared before delete operations completed. Moving deletes inside setState ensures proper sequencing. We should probably refactor to reducer pattern to remove React state from business logic.

…tion

State was being cleared before delete operations completed. Moving
deletes inside setState ensures proper sequencing. We should probably
refactor to reducer pattern to remove React state from business logic.
@manzt manzt requested a review from Light2Dark as a code owner July 29, 2025 19:27
@vercel
Copy link

vercel bot commented Jul 29, 2025

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

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 29, 2025 7:28pm

@manzt manzt added the bug Something isn't working label Jul 29, 2025
@manzt manzt merged commit ce47e31 into main Jul 29, 2025
25 checks passed
@manzt manzt deleted the manzt/delete-ops-race-condition branch July 29, 2025 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants