Replies: 1 comment 15 replies
-
|
|
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Still wrapping my head around the textual way of doing things. In this simple example, the MultiLabelWidget's compose method is dependent on the reactive num_labels. But compose is not called when num_labels changes. I'd like, when a click occurs, for a fourth label to be added. What is the textual way of having a Widget who's composition depends on its reactive data?
I know that I can achieve this in this simple example with mount, but iiuc there should be a declarative approach as well, and that might be preferable over managing mount/unmount calls myself (?), which seems like it could get quite complex quickly.
Beta Was this translation helpful? Give feedback.
All reactions