Can't update reactive value from download handler
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the two linked Shinylive examples, focusing on the download handler, reactive value, and separately registered side effect. Trace how download-handler execution interacts with reactive updates, then establish whether updates should be synchronous or explicitly supported; done means the intended behavior is documented and the reported cases behave consistently.
Written by the indexing model from the issue text.
Description
When attempting to update a reactive value from within a download handler, the value is either not updated until modified by another action button:
Shinylive example
Or the value is not updated at all when separately registering a side effect:
Shinylive example
Is this the intended behavior (implicit asynchrony for the download handler)? Or would there be a way to properly modify reactive values from within download handlers?
- Dominant language
- Python
- Stars
- 1.8k
- Forks
- 135
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 21
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from posit-dev/py-shiny
-
needs-triage Priority: Medium
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
enhancement to-close
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
ai-triage:done bug needs-triage Priority: Low
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
ai-triage:done needs-triage Priority: Medium
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
All issues in posit-dev/py-shiny
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100