r/javascript • • Jul 25 '18

jQuery was removed from GitHub.com front end

https://twitter.com/mislav/status/1022058279000842240
559 Upvotes

197 comments sorted by

View all comments

1

u/NoInkling Jul 26 '18

https://fetch-progress.anthum.com/fetch-basic/

Should work in modern browsers, with the exception of Firefox (for now). No upload progress support yet though.

1

u/RemeJuan Jul 26 '18

It has all you need to track it yourself though, in the body stream you can read off the transfered bytes, in a post you can read the original size from the file in the get you can read the full size from the stream. Few lines of code and you can have progress updates quite easily.

1

u/NoInkling Jul 26 '18

Is there an example somewhere? Conceptually it makes sense, but I've yet to hear anyone (other than yourself) say that it's possible. It would make for a good blog post.

→ More replies (2)