Textualize / textual

The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
https://textual.textualize.io/
MIT License
25.76k stars 795 forks source link

Reactive compute doesnt respect `always_update` #5125

Open kdkavanagh opened 1 month ago

kdkavanagh commented 1 month ago

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

github-actions[bot] commented 1 month ago

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