holoviz / holoviz/param

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

Open
#991 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
521
Forks
86
Avg merge
1d 13h
Merged PRs (30d)
35

Description

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](https://param.holoviz.org/user_guide/Reactive_Expressions.html#limitations).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.