Sep 1, 2018 · 1 min read
Thanks for writing this introduction to fetch!
I really wish the `.json()` method had been named `.fromJson()`. It doesn’t return json. It returns a JavaScript object parsed from the json body of the response.
The parameter to the callback passed to `.then()` after calling `.json()` could be named `responseBodyObj` or better yet `user`, but I wouldn’t use `myJson` or `json`.
