Fullstack

29 articles · all categories

Fullstack articles

2 articles from 2016 · show all

November 2016

How to waste hours of life with fetch() and a bit of brainfart

Both superagent and fetch() enable you to talk to a server. The first produces clean code that gets nesty if you need many things. The second produces clean code that is Promis-y and sometimes cumbersome. The difference between superagent and fetch() isn't that one sends your headers as-given and the other lowercases their names. The difference is that superagent sends a cookie and fetch() doesn't!

September 2016

The one thing flexbox can't do