Fetch is the new XHRfetch(), defined in the Fetch API, is a new API which allows you to make requests similar to XHR’s, but has a simpler / friendly API. The Fetch API is available in service workers today and in the global space (a.k.a in the normal Chrome window) if you enable the Experimental Web Platform Features in chrome://flags. After getting asked about how to make an XHR for push notifica
![Fetch is the new XHR](https://cdn-ak-scissors.b.st-hatena.com/image/square/52cb35a065f16c659cd12b3c2558ddafc43d9c38/height=288;version=1;width=512/https%3A%2F%2Fwww.gaunt.dev%2Fgenerated%2Ffetch.7cd23a2%2F1200.jpg)