Skip to content

No request deduplication for concurrent Soroban queries #308

Description

@ritaifeoluwa

What changed

  • Multiple components may query the same Soroban contract simultaneously
  • No request deduplication layer — the same RPC call can fire multiple times in parallel

Why

  • TanStack Query deduplicates within the same query key, but different hooks with similar params may not
  • Should ensure identical RPC calls are coalesced into a single request

How to test

  1. Open home page with multiple stat components
  2. Check Network tab — observe if the same Soroban RPC endpoint is hit multiple times

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceRendering performance, caching, or bundle sizesorobanSoroban smart-contract integration (XDR, RPC, transaction building)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions