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

Reactive compute doesnt respect always_update #5125

Open
kdkavanagh opened this issue Oct 15, 2024 · 1 comment
Open

Reactive compute doesnt respect always_update #5125

kdkavanagh opened this issue Oct 15, 2024 · 1 comment

Comments

@kdkavanagh
Copy link

kdkavanagh commented Oct 15, 2024

When a reactive update is compute'd, its return value is compared to the current before invoking any watchers, irrespective of whether the reactive object is marked as always_update due to this logic here: https://github.com/Textualize/textual/blob/main/src/textual/reactive.py#L393-L396

Copy link

We found the following entries in the FAQ which you may find helpful:

Feel free to close this issue if you found an answer in the FAQ. Otherwise, please give us a little time to review.

This is an automated reply, generated by FAQtory

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