Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: "When the application (page) loads", the query runs twice if any localStorage value is stored." #1310

Closed
1 task done
vsnshanmuganathan opened this issue Nov 16, 2024 · 1 comment

Comments

@vsnshanmuganathan
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The query above runs twice during initialization.I found that it runs twice if there are any values stored in localStorage (site/container-wide).

Screen_Recording_2024-11-16_at_1.33.48_PM.mov

Expected Behavior

it should run only once when application loads

Steps to reproduce

Import this demo project and view it. Initially, the query loads only once, and you can refresh an unlimited number of times without any issues.
Now, click the true/false button, which stores the localStorageValue. After that, if you refresh, the initial query loads twice.
If you have any local storage values stored across apps, I recommend using incognito mode for testing.
testok (1).json

Environment

Lowcoder latest v2.4.12 on Docker

Additional Information

Major bugs should be fixed or prioritized as soon as possible.

@vsnshanmuganathan vsnshanmuganathan changed the title [Bug]: "When the application (page) loads", the query runs twice if any localStorage value is stored." [Major-Bug]: "When the application (page) loads", the query runs twice if any localStorage value is stored." Nov 16, 2024
@FalkWolsky FalkWolsky changed the title [Major-Bug]: "When the application (page) loads", the query runs twice if any localStorage value is stored." [Bug]: "When the application (page) loads", the query runs twice if any localStorage value is stored." Nov 18, 2024
@vsnshanmuganathan
Copy link
Author

same issue reopened here

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

No branches or pull requests

1 participant