-
I would like to implement modal with queue upload images. I find example with queue uploading. But I dont understand how to implement it on hideable modal: how to get files that are uploading when modal opens after it has been hidden? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
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. |
Beta Was this translation helpful? Give feedback.
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).