Jhsmit / Jhsmit/awesome-solara

toestand Reactive event

Open
#1 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

I'm trying to use `solara.lab.Reactive` to trigger the `.cancel()` method on the file input widget.

My current attempt is [here](https://github.com/Jhsmit/awesome-solara/blob/8782408364c1f679de6027faab130d690a6bc051/awesome_solara/components/fileinput_handler.py#L52) (`awesome_solara.compoments.fileinput_handler`) but this does not work because I cannot access the widget like this.

I somehow need to use `use_effect` but I'm not sure how to subscribe to the `Reactive` toestand I pass in such a context.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.