Skip to content

fix: cancel previous effect to avoid race condition#69

Merged
gre-ledger merged 1 commit into
mainfrom
fix/race-condition-in-hook
Dec 4, 2025
Merged

fix: cancel previous effect to avoid race condition#69
gre-ledger merged 1 commit into
mainfrom
fix/race-condition-in-hook

Conversation

@gre-ledger

Copy link
Copy Markdown
Contributor

in some edge cases, if the CryptoIcon props get swapped, you can experience bad issues like

IMG_4840

due to the fact the data load async and updates regardless if the Effect was discarded

@gre-ledger gre-ledger merged commit e186341 into main Dec 4, 2025
11 checks passed
@gre-ledger gre-ledger deleted the fix/race-condition-in-hook branch December 4, 2025 14:39
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