Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
PikachuEXE
on Jan 20, 2022
|
parent
|
context
|
favorite
| on:
Make Front End Shit Again (2018)
I still use jQuery but
https://umbrellajs.com
too.
And native DOM API as well.
enahs-sf
on Jan 20, 2022
|
next
[–]
Fetch is great. I never understood the need for installing axios when fetch works fine. I remember the good old days of XMLHttpRequest.
nkzd
on Jan 20, 2022
|
parent
|
next
[–]
Axios has better errror handling.
jsmith99
on Jan 20, 2022
|
parent
|
prev
|
next
[–]
Fetch doesn't have progress bars yet.
easrng
on Jan 20, 2022
|
root
|
parent
|
next
[–]
False, you can use response.body which is a ReadableStream. See
https://fetch-progress-demo.glitch.me/
for a simple example.
croon
on Jan 20, 2022
|
prev
[–]
I think the point wasn't that jquery was old, but it was way too new for the rest of the page. Everything on it screams mid 90s, and then jquery which is a good 10 years later.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
And native DOM API as well.