3 ms·
For certain applications, they are. If I have a single page web app, I don't want the overhead of returning markup. I just want JSON. And when I get raw data b
by kevincennis 14y ago
For certain applications, they are.
If I have a single page web app, I don't want the overhead of returning markup. I just want JSON. And when I get raw data back instead of a string of HTML, I can be a lot smarter about responding to user input (e.g. optimistic updates).