Twitch was a struggle, but done. what do you think?

Twitch was a struggle, but done. what do you think?
0

#1

Finished the Twitch API Json challenge. It was really a mess there, not because of the API, but because of me not understanding AJAX.

Do you know what the A stands for in AJAX - async. Which means that the responses on the requests don’t come in like they are send. Request A,B,C,D , but results are A,C,D,B. Which means there is always a delay. The concept to tackle this is either promises in ES6 or callbacks. But why not give the API a little bit more time? So I’ve set a timeout of 100ms with setTimeout() and it works.

See the project in action:
https://mkandut.github.io/twitch-tv/