I want to use mutations to upload files, too, but I canβt find a way to track the progress of the mutation (loading it, similar to the XMLHttpRequest progress event). Afaik relays use sampling, but sampling provides no way to track progress ( https://github.com/whatwg/fetch/issues/21 ).
So what is the best solution? Write a user network layer that uses XMLHttpRequest? But then again, how do I get the link to the request object back to the caller Store.commitUpdate...?
source
share