DEV Community

Discussion on: Let's Build a Github Profile Search Web App

Collapse
 
bboyakers profile image
Austin Akers • Edited

As I stated earlier in the article "I decided to use this instead of fetch simply due to browser compatibility. I thought it'd be great to support older browsers and not have to deal with polyfills." I'm fully aware there's a polyfill. Also, fetch is a sugar coated method and having a xhrHttpRequest in my opinion pinned down on the learning aspect of this tutorial. As stated at the end "As nice as this app seems there is much more you can do to improve this application." I took that into account when building it out. The person reading this article should purposely look further into improving the code. That's the point behind that statement! If you see something wrong build it make it better. :)

Collapse
 
walterbarris profile image
Walterbarris

You are aware that the ES6 features like Arrow Functions and String Template Literals, that "you" used do not work in older browsers without a JS compiler like, Babel. Did you even test "your" code in an older browser, I'm guessing not.

Are you Allstate's mayhem web dev?

Thread Thread
 
bboyakers profile image
Austin Akers

Yup! Fully aware of Babel. Again if you see something that can be improved, build it out yourself. Instead of trying to attack someone, try to be a bit more constructive man! No, i'm not Allstate's mayhem dev. We all make mistakes and I definitely should've put babel into this project. I thought about a lot of things to do including that but I decided not to due to how long it was. It's my first article homie, I'll make sure I improve on the next ones! Regardless, thanks a ton for your feedback :). I do appreciate it!