Skip to content

Frontend: match status polling uses setInterval and never clears it on unmount #1721

Description

@yahia008

Category: Frontend - Bug
Priority: Low
Estimated Time: 20 minutes

Description:
The match status hook (or component) starts a setInterval for polling but does not return a cleanup function, causing the interval to continue running after the component unmounts and leading to React state updates on unmounted components.

Tasks:

  • Return a cleanup that calls clearInterval from the useEffect
  • Add a test asserting no state updates occur after unmount

Activity

  1. added
    bugSomething isn't working
    trivial100 pts — simple task
    wave-readyFunded Drips Wave issue
    javascriptPull requests that update javascript code
    on Oct 15, 2026
  2. ranjeetprabhatedu-dotcom commented on Oct 15, 2026

    @ranjeetprabhatedu-dotcom

    Hello maintainers,

    I reviewed "Frontend: match status polling uses setInterval and never clears it on unmount" and would like to work on this.

    Technical Implementation Outline:

    1. Review contract state storage keys, TTL policies, and auth guards (Address::require_auth).
    2. Implement safe state transition logic with checked arithmetic preventing under/overflow.
    3. Write comprehensive Soroban unit tests covering standard flows, unauthorized callers, and reverts.
    4. Verify contract execution footprint passes Soroban CPU/memory budget limits.

    Please assign this issue to me. I will submit a clean, well-tested, and production-ready PR promptly!

  3. Manuel1234477 commented on Oct 17, 2026

    @Manuel1234477
    Contributor

    @Manuel1234477 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hi! I’m a full-stack developer with a strong blockchain background. I’d love to handle this issue and can deliver a clean, reliable solution. Kindly assign it to me.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Manuel1234477 to this issue.

  4. drips-wave commented on Oct 17, 2026

    @drips-wave

    Congratulations, @Manuel1234477! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

    🧑‍💻 @Manuel1234477: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  5. grantfox-oss commented on Oct 19, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox!

    @Manuel1234477's PR #1845 was approved and merged by @yahia008.

    🏆 @Manuel1234477: You earned 40 FoxPoints for this contribution! Your current tier: Builder (1,465 total points). Track your full progress on GrantFox.

    👏 Great work, @Manuel1234477! Keep contributing to StellarCheckMate.

  6. drips-wave commented on Oct 19, 2026

    @drips-wave

    This issue has been completed by @Manuel1234477 as part of the Stellar Wave Program's 10th Wave 🥳

    😎 @Manuel1234477: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

  7. added a commit that references this issue on Oct 19, 2026
  8. grantfox-oss commented on Oct 19, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox!

    @Manuel1234477's PR #1846 was approved and merged by @yahia008.

    🏆 @Manuel1234477: You earned 40 FoxPoints for this contribution! Your current tier: Builder (1,505 total points). Track your full progress on GrantFox.

    👏 Great work, @Manuel1234477! Keep contributing to StellarCheckMate.

  9. added a commit that references this issue on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't workingjavascriptPull requests that update javascript codetrivial100 pts — simple taskwave-readyFunded Drips Wave issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions