scope value type #717
Unanswered
acivitillo
asked this question in
Question
Replies: 2 comments 6 replies
-
You're free to use dicts with |
Beta Was this translation helpful? Give feedback.
5 replies
-
yes I would love to, how you suggest we do that?
…
On 28 Mar 2022, at 23:58, Ryan Morshead ***@***.***> wrote:
@acivitillo it'd be great to re-sync at some point. I'd like to hear about what has/hasn't gone well so far.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
We are building components on top of IDOM. One of such components is
BatchTable
, this is a Table component on which users can perform batch actions by clicking on checkboxes (see below).I am wondering on what would be the best practice to keep state here? I am considering using a string and then send an event on each checkbox check/uncheck to update such state. Does that make sense?
I am asking because
use_state()
doesn't seem to supportdict
, so I cannot dovalue, set_value = use_state({})
for instance (probably for good reasons).So the structure I had in mind was a string of ids with some delimiter to reflect the checked boxes on the
BatchTable
.Beta Was this translation helpful? Give feedback.
All reactions