Echo JS 0.11.0

<~>
pselviakcay 1450 days ago. link parent 2 points
use fetch even if you need to support IE11, it's worth the polyfill IMO

fetch(someUrl).then(resp => resp.json()).then(data => doSomethingWith(data))

the end.

Replies

tracker1 1449 days ago. link 2 points
Yeah... for about the past 2 years, mostly been on internalized apps so stopped using most polyfils at that point.  Generally only support browsers with fetch and async function support, which is everything that's seen an update since late 2017.

I agree that if I supported IE11, would probably polyfill for fetch, but at this point, I'm starting to lean towards just using ecmascript modules directly in the browser for anything public facing, which definitely excludes IE11.