3
AllenII
8y

Using the fetch API and it's not that bad at all. Beats XMLHttpRewuest for sure and I dont have to feel guilty for using jQuery's AJAX functions anymore. I'm considering rewriting a module or two with it now

Comments
  • 0
    I actually don't like fetch
  • 1
    @nblackburn why not? Seeing as I've just started using it, I'm all ears for what fellow decs think
  • 0
    @AllenII Sure so there is two main reasons i am against the spec.

    - it's not nearly as flexible.
    - non-200 statuses are resolved rather than rejected.
  • 0
    @nblackburn i read that second point and thought it was weird too. As for the inflexibility, i won't worry about that until it becomes a problem.
Add Comment