fix(ui): resolve infinite recursion in transaction viewer#15
Conversation
Fixes bsv-blockchain#14 - Remove reactive alias in tx-details-card causing infinite re-evaluation - Refactor async address extraction in tx-io-card to prevent loop - Add processedOutputsHash to track processed data and avoid re-processing
|
/claude-review |
|
Claude finished @oskarszoon's task —— View job PR Review: Fix infinite recursion in transaction viewerReview Summary: This PR correctly addresses the infinite recursion issues in the transaction viewer. Both fixes are appropriate for Svelte's reactivity model. Changes Reviewed: tx-details-card/index.svelte:27Removed the problematic reactive alias tx-io-card/index.svelte:45-75Refactored the async address extraction logic to prevent reactive loops:
Issues Found:
Minor Observations:
Testing Note: Recommendation: Request changes to address the two optimization opportunities noted in inline comments. |
galt-tr
left a comment
There was a problem hiding this comment.
Tested locally works well for me
Fixes #14