4 ms·
And all that is just for being able to write `response = await fetch(...)` instead of `fetch(...).then(...)`.
by tjelen 6y ago
And all that is just for being able to write `response = await fetch(...)` instead of `fetch(...).then(...)`.
- nelsontky 6y agoMy fault. Didn't know that ES2015 actually supported `.then()`. Anyway, this was also an exercise for me to learn about babel (I use CRA all the time so have no idea what is going on behind the scenes) and this was a nice intro!