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

Document how methods that update rx value in-place is expected to work. #991

Open
MarcSkovMadsen opened this issue Dec 19, 2024 · 1 comment

Comments

@MarcSkovMadsen
Copy link
Collaborator

In https://discourse.holoviz.org/t/changes-to-a-param-rx-variable-do-not-trigger-ui-redraws-and-dont-notify-watchers-consistently/8475 Lennart sets a rx value to the empty list. Then he uses the .append method on the reactive object.

The UI actually updates - but only every second time - when the .append function is run. I don't know why.

But I do believe users cannot expect in-place methods to trigger reactive expressions. There is no documentation of this.

It should probably be explained in or close to the limitations section.

@holovizbot
Copy link

This issue has been mentioned on HoloViz Discourse. There might be relevant details there:

https://discourse.holoviz.org/t/changes-to-a-param-rx-variable-do-not-trigger-ui-redraws-and-dont-notify-watchers-consistently/8475/2

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

2 participants