Skip to content

Upload queue in hideable modal #440

Answered by yoavniran
dro-sh asked this question in Q&A
Dec 19, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

If you're asking about how to create a component that mounts/dismounts and how to store the data about the uploads then I recommend separating the two concerns.
The code/component tracking the uploads (ie using the start/progress/finish) and their status should be in a component that doesnt dismount when the modal is hidden.
Then that data can be passed through props/context (or your choice of state handling).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@dro-sh
Comment options

@yoavniran
Comment options

@dro-sh
Comment options

Answer selected by dro-sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants