Skip to content

reactivity issues due to stale store/sessionΒ #3309

@Shubhamappfoster

Description

@Shubhamappfoster

Hello everyone,

in my current project, I'm facing a very peculiar issue
My token expires every 24 hours, so if I try to access my page, I'm immediately logged back out to the login page.
Now when I again check in and try to use my web checkin bar (a checkin bar which I've created to track user attendance), to check in,
A few things happen-

  1. Time starts
  2. Api is called (a total of three should be called, but only one gets called, the others are called by updating a flag, on which I've set watchers in other components)
  3. The checkin button text should be updated to checkout, but this does not happen.

once I give a refresh to the page, it works just fine, I can take breaks, checkin, checkout, whatever I want and it works fine in every single case.
Also, this is unlikely a code related issue, since similar error issue happens throughout my app, and the only solution is to reload the page once.

How do I fix it?
The main issue is, I'm not able to reproduce the issue on my end to begin with.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions