Search

Nalezeno "fetch": 157

Reliably Send an HTTP Request as a User Leaves a Page


On several occasions, I’ve needed to send off an HTTP request with some data to log when a user does something like navigate to a different page or submit a form. Consider this contrived example of sending some information to … Reliably Send an HTTP Request as a User Leaves a Page originally...

Web Streams Everywhere (and Fetch for Node.js)


Chrome developer advocate Jake Archibald called 2016 “the year of web streams.” Clearly, his prediction was somewhat premature. The Streams Standard was announced back in 2014. It’s taken a while, but there’s now a consistent streaming API implemented … The post Web Streams...

How to Cancel Pending API Requests to Show Correct Data


I recently had to create a widget in React that fetches data from multiple API endpoints. As the user clicks around, new data is fetched and marshalled into the UI. But it caused some problems. One problem quickly became evident: … The post How to Cancel Pending API Requests to Show Correct...

Fetch.ai Collaborates with IOTA - A Deep Dive


Fetch.ai finally announced entering into a partnership with IOTA for connecting the Autonomous Economic Agents with the resourceful data network of IOTA. The collaboration between Fetch.ai and IOTA resolves data discoverability by establishing a smooth, real-time, and seamless connection between...

Using AbortController as an Alternative for Removing Event Listeners


The idea of an “abortable” fetch came to life in 2017 when AbortController was released. That gives us a way to bail on an API request initiated by fetch() — even multiple calls — whenever we want. Here’s a super … The post Using AbortController as an Alternative for Removing Event Listeners...

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace