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: Unsatisfied if condition on immutable variable should not generate the dependent UIs and data #1944

Open
Arpita-Jaiswal opened this issue Oct 3, 2024 · 0 comments

Comments

@Arpita-Jaiswal
Copy link
Contributor

There is an issue where data is being generated unnecessarily in fastn under specific conditions. This occurs when the data is tied to an if condition that is based on a variable that is not mutable. Since the variable never changes during the lifecycle of the page, the conditional block of code should not trigger data generation. However, the data is still being generated, which is inefficient.

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

No branches or pull requests

1 participant