# Promise

An ECMAScript object that serves as a placeholder for the eventual result of a deferred, possibly asynchronous computation.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## C++ futures part 2: The mental model for std::promise, std::packaged\_task

DevFeed: [C++ futures part 2: The mental model for std::promise, std::packaged\_task](<https://devfeed.tech/articles/c-futures-part-2-the-mental-model-for-std-promise-std-packaged-task-85880.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261013-00/?p=112769/>)

Author: Raymond Chen

Published: 2026-10-13T14:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [Promise](<https://devfeed.tech/topics/promise.md>), [await](<https://devfeed.tech/topics/await.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code](<https://devfeed.tech/tags/code.md>), [exception](<https://devfeed.tech/tags/exception.md>), [future](<https://devfeed.tech/tags/future.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>)

### AI overview

This installment explains how the shared state behind C++ futures is used and passed around. It describes how std::promise and std::packaged_task place values or exceptions in that state for retrieval through a future.

### Source excerpt

Building things out of the state. The post C++ futures part 2: The mental model for <CODE>std::promise</CODE>, <CODE>std::packaged_task</CODE> appeared first on The Old New Thing.

## 7 ECMAScript 2026 Features That Make JavaScript Better

DevFeed: [7 ECMAScript 2026 Features That Make JavaScript Better](<https://devfeed.tech/articles/7-ecmascript-2026-features-that-make-javascript-better-87901.md>)

Original publisher: [Read original article](<https://jsdev.space/ecmascript-2026-features/>)

Author: anton liberant

Published: 2026-09-30T00:00:00Z

Content type: article

Language: en

Sources: [JavaScript Development](<https://devfeed.tech/sources/javascript-development.md>)

Topics: [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [JSON](<https://devfeed.tech/topics/json.md>), [Encoding](<https://devfeed.tech/topics/encoding.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [any-value](<https://devfeed.tech/tags/any-value.md>), [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [application](<https://devfeed.tech/tags/application.md>), [array](<https://devfeed.tech/tags/array.md>), [async](<https://devfeed.tech/tags/async.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [await](<https://devfeed.tech/tags/await.md>), [base64](<https://devfeed.tech/tags/base64.md>), [bits](<https://devfeed.tech/tags/bits.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [buffer](<https://devfeed.tech/tags/buffer.md>), [data](<https://devfeed.tech/tags/data.md>), [ecmascript](<https://devfeed.tech/tags/ecmascript.md>), [es2026](<https://devfeed.tech/tags/es2026.md>), [features](<https://devfeed.tech/tags/features.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [json](<https://devfeed.tech/tags/json.md>), [maps](<https://devfeed.tech/tags/maps.md>), [practical](<https://devfeed.tech/tags/practical.md>), [tc39](<https://devfeed.tech/tags/tc39.md>)

### AI overview

The article surveys seven ECMAScript 2026 additions that reduce common JavaScript boilerplate: Map insertion helpers, async iterator collection, lazy iterator concatenation, improved handling of large JSON integers, Base64 and hexadecimal conversion for Uint8Array, cross-realm error detection, and more reliable floating-point summation. It explains usage examples and cautions, including sequential processing by Array.fromAsync() and runtime support differences.

### Source excerpt

Explore seven practical ECMAScript 2026 features for Maps, async iterators, JSON, binary data, errors, precise sums, and cleaner JavaScript.

## How to Prevent Stale API Responses with AbortController

DevFeed: [How to Prevent Stale API Responses with AbortController](<https://devfeed.tech/articles/how-to-prevent-stale-api-responses-with-abortcontroller-57958.md>)

Original publisher: [Read original article](<https://www.sitepoint.com/how-to-prevent-stale-api-responses-with-abortcontroller/>)

Author: Jhon-Harry

Published: 2026-09-22T08:12:45Z

Content type: tutorial

Language: en

Sources: [SitePoint](<https://devfeed.tech/sources/sitepoint.md>)

Topics: [API](<https://devfeed.tech/topics/api.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [race-condition](<https://devfeed.tech/topics/race-condition.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Error Handling](<https://devfeed.tech/topics/error-handling.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [input](<https://devfeed.tech/topics/input.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [app-development](<https://devfeed.tech/tags/app-development.md>), [browser](<https://devfeed.tech/tags/browser.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [race-condition](<https://devfeed.tech/tags/race-condition.md>)

### AI overview

This tutorial explains how stale API responses can overwrite newer results when network requests finish out of order. It shows how JavaScript's AbortController can cancel the previous request in search and autocomplete interfaces, and why cancellation should be handled separately from actual errors to avoid misleading logs and metrics.

### Source excerpt

null Continue reading How to Prevent Stale API Responses with AbortController on SitePoint.

## Fixing Clipboard API Failures After Asynchronous JavaScript Operations

DevFeed: [Fixing Clipboard API Failures After Asynchronous JavaScript Operations](<https://devfeed.tech/articles/fixing-navigator-clipboard-writetext-transient-activation-failures-in-async-javascript-50834.md>)

Original publisher: [Read original article](<https://www.sitepoint.com/fix-navigator-clipboard-writetext-transient-activation-async-javascript/>)

Author: SitePoint Team

Published: 2026-09-03T18:23:35Z

Content type: tutorial

Language: en

Sources: [SitePoint](<https://devfeed.tech/sources/sitepoint.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [browser](<https://devfeed.tech/topics/browser.md>), [async](<https://devfeed.tech/topics/async.md>), [Exception](<https://devfeed.tech/topics/exception.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [Web platform](<https://devfeed.tech/topics/web-platform.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [browser](<https://devfeed.tech/tags/browser.md>), [browser-apis](<https://devfeed.tech/tags/browser-apis.md>), [exceptions](<https://devfeed.tech/tags/exceptions.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [permission](<https://devfeed.tech/tags/permission.md>), [release](<https://devfeed.tech/tags/release.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

This tutorial explains why navigator.clipboard.writeText can fail after asynchronous work when the browser's transient user activation window expires. It describes the browser behavior and presents two fix patterns, including a reusable utility based on Promise-based blob resolution.

### Source excerpt

Solve NotAllowedError exceptions when invoking navigator.clipboard.writeText after async operations by preserving browser transient user activation states. Continue reading Fixing navigator clipboard writeText transient activation Failures in Async JavaScript on SitePoint.

## Fixing Top-Level Await in Safari

DevFeed: [Fixing Top-Level Await in Safari](<https://devfeed.tech/articles/fixing-top-level-await-in-safari-49196.md>)

Original publisher: [Read original article](<https://webkit.org/blog/18227/fixing-top-level-await-in-safari/>)

Author: Kai Tamkun

Published: 2026-09-02T17:05:29Z

Content type: release

Language: en

Sources: [WebKit](<https://devfeed.tech/sources/webkit.md>)

Topics: [await](<https://devfeed.tech/topics/await.md>), [WebKit](<https://devfeed.tech/topics/webkit.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [browser](<https://devfeed.tech/topics/browser.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [async](<https://devfeed.tech/topics/async.md>), [modules](<https://devfeed.tech/topics/modules.md>), [Sequences](<https://devfeed.tech/topics/sequences.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [await](<https://devfeed.tech/tags/await.md>), [browsers](<https://devfeed.tech/tags/browsers.md>), [bun](<https://devfeed.tech/tags/bun.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [es](<https://devfeed.tech/tags/es.md>), [execution](<https://devfeed.tech/tags/execution.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [js](<https://devfeed.tech/tags/js.md>), [module](<https://devfeed.tech/tags/module.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [webkit](<https://devfeed.tech/tags/webkit.md>)

### AI overview

WebKit for Safari 27 adds full specification compliance for top-level await. The article explains how the feature suspends dependent ES modules while allowing unrelated modules to execute concurrently, and describes the rebuilt module loader behind the change.

### Source excerpt

WebKit for Safari 27 adds full spec compliance for top-level `await`.

## Stop Memorizing JavaScript APIs: Learn Them with Tiny Experiments Instead

DevFeed: [Stop Memorizing JavaScript APIs: Learn Them with Tiny Experiments Instead](<https://devfeed.tech/articles/stop-memorizing-javascript-apis-learn-them-with-tiny-experiments-instead-50883.md>)

Original publisher: [Read original article](<https://www.sitepoint.com/stop-memorizing-javascript-apis-learn-them-with-tiny-experiments-instead/>)

Author: Saifullah Adenwalla

Published: 2026-08-27T09:19:53Z

Content type: tutorial

Language: en

Sources: [SitePoint](<https://devfeed.tech/sources/sitepoint.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [fetch](<https://devfeed.tech/topics/fetch.md>), [cancellation](<https://devfeed.tech/topics/cancellation.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [browser](<https://devfeed.tech/topics/browser.md>), [HTML](<https://devfeed.tech/topics/html.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [browser](<https://devfeed.tech/tags/browser.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [devtools](<https://devfeed.tech/tags/devtools.md>), [fetch](<https://devfeed.tech/tags/fetch.md>), [html](<https://devfeed.tech/tags/html.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [learning](<https://devfeed.tech/tags/learning.md>)

### AI overview

A tutorial argues that developers should learn JavaScript APIs through small, disposable experiments instead of trying to memorize documentation. It demonstrates this approach with browser cancellation behavior involving AbortController and fetch, using a plain HTML file and DevTools to inspect runtime results.

### Source excerpt

null Continue reading Stop Memorizing JavaScript APIs: Learn Them with Tiny Experiments Instead on SitePoint.

## Reliable Query Prefetching with TanStack Router

DevFeed: [Reliable Query Prefetching with TanStack Router](<https://devfeed.tech/articles/reliable-query-prefetching-with-tanstack-router-48229.md>)

Original publisher: [Read original article](<https://tkdodo.eu/blog/reliable-query-prefetching-with-tanstack-router>)

Published: 2026-08-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [TkDodo](<https://devfeed.tech/sources/tkdodo-s-blog.md>)

Topics: [Promise](<https://devfeed.tech/topics/promise.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [App](<https://devfeed.tech/topics/app.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [app](<https://devfeed.tech/tags/app.md>), [components](<https://devfeed.tech/tags/components.md>), [fetching](<https://devfeed.tech/tags/fetching.md>), [pattern](<https://devfeed.tech/tags/pattern.md>), [query](<https://devfeed.tech/tags/query.md>)

### AI overview

This article explains a TanStack Router and TanStack Query pattern for reliable data prefetching. It recommends triggering fetches in route loaders and allowing components to consume the resulting promise, while discussing duplication, synchronization problems, and accidental prefetch mismatches as applications grow.

### Source excerpt

Prefetching in route loaders is great, but comes at a cost. We have to keep loaders in-sync with components...

## Promise Theory, Infrastructure-as-Code, and LLM Reasoning for Autonomous Agents

DevFeed: [Promise Theory, Infrastructure-as-Code, and LLM Reasoning for Autonomous Agents](<https://devfeed.tech/articles/the-promise-none-of-them-kept-55885.md>)

Original publisher: [Read original article](<https://swamp-club.com/feed/p/bb2f95c6-65d6-4206-98ec-51c9c437462a/go>)

Author: webframp

Published: 2026-08-09T21:36:03Z

Content type: article

Language: en

Sources: [Swamp Club Feed](<https://devfeed.tech/sources/swamp-club-feed.md>)

Topics: [Promise](<https://devfeed.tech/topics/promise.md>), [Infrastructure as code](<https://devfeed.tech/topics/infrastructure-as-code.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Terraform](<https://devfeed.tech/topics/terraform.md>), [Ansible](<https://devfeed.tech/topics/ansible.md>), [Puppet](<https://devfeed.tech/topics/puppet.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ansible](<https://devfeed.tech/tags/ansible.md>), [autonomous](<https://devfeed.tech/tags/autonomous.md>), [cfengine](<https://devfeed.tech/tags/cfengine.md>), [declarative](<https://devfeed.tech/tags/declarative.md>), [devops](<https://devfeed.tech/tags/devops.md>), [iac](<https://devfeed.tech/tags/iac.md>), [infrastructure](<https://devfeed.tech/tags/infrastructure.md>), [llms](<https://devfeed.tech/tags/llms.md>), [promise-theory](<https://devfeed.tech/tags/promise-theory.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [swamp](<https://devfeed.tech/tags/swamp.md>), [terraform](<https://devfeed.tech/tags/terraform.md>), [trust](<https://devfeed.tech/tags/trust.md>)

### AI overview

The article revisits promise theory's model of autonomous agents that observe their environment, reason locally, and commit to their own behavior. It compares that model with infrastructure tools such as CFEngine, Chef, Puppet, Terraform, and Ansible, arguing that LLMs provide the reasoning layer needed for a new agent-oriented infrastructure approach called swamp.

### Source excerpt

Promise theory described agents that observe, reason, and commit. The IaC generation never delivered it and CFEngine came closest. LLMs supplied the missing reasoning layer, and swamp is built for the agent that has it.

## Bun v1.3.6

DevFeed: [Bun v1.3.6](<https://devfeed.tech/articles/bun-v1-3-6-49458.md>)

Original publisher: [Read original article](<https://bun.com/blog/bun-v1.3.6>)

Author: Jarred Sumner

Published: 2026-01-13T01:12:07Z

Content type: release

Language: en

Sources: [Bun](<https://devfeed.tech/sources/bun-com.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [Compression](<https://devfeed.tech/topics/compression.md>), [JSON](<https://devfeed.tech/topics/json.md>), [async](<https://devfeed.tech/topics/async.md>), [Parsing](<https://devfeed.tech/topics/parsing.md>), [async/await](<https://devfeed.tech/topics/async-await.md>), [hashing](<https://devfeed.tech/topics/hashing.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [Amazon S3](<https://devfeed.tech/topics/amazon-s3.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [WebSocket](<https://devfeed.tech/topics/websocket.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [await](<https://devfeed.tech/tags/await.md>), [blog](<https://devfeed.tech/tags/blog.md>), [bun](<https://devfeed.tech/tags/bun.md>), [compression](<https://devfeed.tech/tags/compression.md>), [hash](<https://devfeed.tech/tags/hash.md>), [http](<https://devfeed.tech/tags/http.md>), [json](<https://devfeed.tech/tags/json.md>), [parsing](<https://devfeed.tech/tags/parsing.md>), [s3](<https://devfeed.tech/tags/s3.md>), [testing](<https://devfeed.tech/tags/testing.md>), [v1](<https://devfeed.tech/tags/v1.md>), [websocket](<https://devfeed.tech/tags/websocket.md>)

### AI overview

Bun v1.3.6 fixes 45 issues and adds APIs for creating and extracting compressed tar archives, parsing JSON with comments, and working with virtual files. The release also improves bundle analysis, cross-compilation, React Fast Refresh support, async operations, hashing, WebSockets, S3, testing, SQLite, and Node.js compatibility.

### Source excerpt

Fixes 45 issues (addressing 125 👍). Bun.Archive API for creating & extracting tarballs with gzip compression, Bun.JSONC for parsing JSON with comments, metafile & files options in Bun.build for bundle analysis and virtual files, Response.json() 3.5x faster, 15% faster async/await, 30% faster Promise.race, 20x faster Bun.hash.crc32, faster Buffer.indexOf/includes with SIMD, HTTP/HTTPS proxy support for WebSocket, S3 Requester Pays support, --grep flag for bun test, fake timers now work with @testing-library/react, SQLite updated to 3.51.2, and numerous Node.js compatibility improvements.

## Promise based Web Worker Messaging

DevFeed: [Promise based Web Worker Messaging](<https://devfeed.tech/articles/promise-based-web-worker-messaging-37370.md>)

Original publisher: [Read original article](<https://muffinman.io/blog/web-workers-promises/>)

Author: Stanko

Published: 2025-11-03T00:00:00Z

Content type: tutorial

Language: en

Sources: [Stanko Tadić](<https://devfeed.tech/sources/stanko-tadic.md>)

Topics: [Promise](<https://devfeed.tech/topics/promise.md>), [Messaging](<https://devfeed.tech/topics/messaging.md>), [Web](<https://devfeed.tech/topics/web.md>), [async/await](<https://devfeed.tech/topics/async-await.md>), [Code](<https://devfeed.tech/topics/code.md>), [Error Handling](<https://devfeed.tech/topics/error-handling.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [await](<https://devfeed.tech/tags/await.md>), [code](<https://devfeed.tech/tags/code.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [event](<https://devfeed.tech/tags/event.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [messaging](<https://devfeed.tech/tags/messaging.md>), [thread](<https://devfeed.tech/tags/thread.md>), [web](<https://devfeed.tech/tags/web.md>), [worker](<https://devfeed.tech/tags/worker.md>)

### AI overview

This tutorial presents a Promise-based wrapper for Web Worker messaging. It explains how unique message identifiers map worker responses to stored promises, allowing the main thread to resolve or reject the corresponding promise and use async/await with simpler error handling. The same pattern can also be applied to Service Workers.

### Source excerpt

If you've ever used Web Workers (or any other event-based communication), you probably noticed that this kind of code can be hard to read and reason about. You also have to implement some kind of identifier for each message to recognize which worker response corresponds to which request. To simplify that, we can write a small wrapper that lets us use Promises to communicate with Workers. I'll show you an example for Web Workers, but the same pattern can be applied to Service Workers as well. The resulting API looks like this: const workerResponse = await sendToWorker(data); I first used this approach in Pulsar, because I wanted to parse and execute the user's code in a Web Worker, but also wait for the worker to finish before providing data for the next frame. Implementation # The idea is fairly simple - before sending a message to the worker, we create a unique id and a promise. We store the promise in a map using the id as the key. Then we send an event to the worker, including both the data and the id, and return the promise to the caller. When the worker finishes its calculation, it sends back a message that includes the result and the same id. In the main thread, we listen for these messages. When one arrives, we use the id to find the corresponding promise in our map. Finally, based on the worker's result, we resolve or reject that promise. It might sound like a lot, but the code is actually quite straightforward: send-to-worker.jsCopy // Worker initialization const worker = new Worker("./path-to-your-worker.js"); // Map of promises const promises = {}; worker.addEventListener("message", (e) => { // Listen to worker messages and find the correct promise matching the id // Then resolve or reject it depending on the response if (e.data.error) { promises[e.data.id].reject(e.data.error); } else { promises[e.data.id].resolve(e.data.data); } // Remove the resolver reference delete promises[e.data.id]; }); // For identifiers it is safe to use a simple integer // whic

## Kotlin Coroutines and JavaScript

DevFeed: [Kotlin Coroutines and JavaScript](<https://devfeed.tech/articles/kotlin-coroutines-and-javascript-39323.md>)

Original publisher: [Read original article](<https://kt.academy/article/interop-coroutines-js>)

Published: 2025-09-08T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [React](<https://devfeed.tech/topics/react.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [callback](<https://devfeed.tech/tags/callback.md>), [coroutines](<https://devfeed.tech/tags/coroutines.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [react](<https://devfeed.tech/tags/react.md>), [typescript](<https://devfeed.tech/tags/typescript.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

This tutorial explains how to make Kotlin Coroutines APIs usable from JavaScript and TypeScript projects. It covers converting suspending functions to JavaScript async functions, exposing Flow values through callbacks or wrapper classes, and calling regular or promise-returning JavaScript functions from Kotlin Coroutines.

### Source excerpt

How to use Kotlin Coroutines in JavaScript projects, or JavaScript libraries from Kotlin Coroutines.

## React Native 0.78 - React 19 and more

DevFeed: [React Native 0.78 - React 19 and more](<https://devfeed.tech/articles/react-native-0-78-react-19-and-more-48125.md>)

Original publisher: [Read original article](<https://reactnative.dev/blog/2025/02/19/react-native-0.78>)

Author: Vojtech Novak; Shubham Gupta; Fabrizio Cucci; Riccardo Cipolleschi

Published: 2025-02-19T00:00:00Z

Content type: release

Language: en

Sources: [React Native Blog](<https://devfeed.tech/sources/react-native-blog.md>)

Topics: [React Native](<https://devfeed.tech/topics/react-native.md>), [React](<https://devfeed.tech/topics/react.md>), [migration](<https://devfeed.tech/topics/migration.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [Android](<https://devfeed.tech/topics/android.md>), [Babel](<https://devfeed.tech/topics/babel.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [hooks](<https://devfeed.tech/topics/hooks.md>), [iOS](<https://devfeed.tech/topics/ios.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [async](<https://devfeed.tech/tags/async.md>), [babel](<https://devfeed.tech/tags/babel.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [hooks](<https://devfeed.tech/tags/hooks.md>), [ios](<https://devfeed.tech/tags/ios.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [migration](<https://devfeed.tech/tags/migration.md>), [react](<https://devfeed.tech/tags/react.md>), [react-native](<https://devfeed.tech/tags/react-native.md>), [release](<https://devfeed.tech/tags/release.md>)

### AI overview

React Native 0.78 releases with React 19, native Android Vector drawable support, and improved brownfield integration for iOS. The release also describes React 19 features and a simplified process for enabling React Compiler in React Native apps.

### Source excerpt

Today we are excited to release React Native 0.78!

## Keycloak 26.0.4 released

DevFeed: [Keycloak 26.0.4 released](<https://devfeed.tech/articles/keycloak-26-0-4-released-31662.md>)

Original publisher: [Read original article](<https://www.keycloak.org/2024/10/keycloak-2604-released>)

Author: Keycloak Team

Published: 2024-10-30T00:00:00Z

Content type: release

Language: en

Sources: [Keycloak Blog](<https://devfeed.tech/sources/keycloak-blog.md>)

Topics: [Keycloak](<https://devfeed.tech/topics/keycloak.md>), [LDAP](<https://devfeed.tech/topics/ldap.md>), [Kubernetes](<https://devfeed.tech/topics/kubernetes.md>), [Promise](<https://devfeed.tech/topics/promise.md>)

Tags: [bugs](<https://devfeed.tech/tags/bugs.md>), [changes](<https://devfeed.tech/tags/changes.md>), [idm](<https://devfeed.tech/tags/idm.md>), [kerberos](<https://devfeed.tech/tags/kerberos.md>), [keycloak](<https://devfeed.tech/tags/keycloak.md>), [keycloak-release](<https://devfeed.tech/tags/keycloak-release.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [ldap](<https://devfeed.tech/tags/ldap.md>), [openid-connect](<https://devfeed.tech/tags/openid-connect.md>), [release](<https://devfeed.tech/tags/release.md>), [saml](<https://devfeed.tech/tags/saml.md>), [sso](<https://devfeed.tech/tags/sso.md>)

### AI overview

Keycloak 26.0.4 is released with enhancements and fixes covering the admin client, documentation, authorization JavaScript adapter behavior, authentication retry handling, distributed client scope updates, email security, password policy validation, LDAP operations, and user session processing.

### Source excerpt

To download the release go to Keycloak downloads. Upgrading Before upgrading refer to the migration guide for a complete list of changes. All resolved issues Enhancements #34284 Keycloak-admin-client should work with the future versions of Keycloak server admin/client-java #34382 Make the organization chapter of Server Admin guide available on downstream Bugs #14562 Broken Promise implementation for AuthZ JS adapter/javascript #25917 Allow increasing wait time on each failure after the max number of failures is reached authentication #33627 ClassNotFoundException OracleXADataSource/OracleDataSource using IDELauncher with Keycloak 26.0.0 dist/quarkus #33731 Client Scope updates are not replicated on a distributed keycloak setup in kubernetes admin/api #33798 CVE-2021-44549 - org.eclipse.angus/angus-mail: Enabling Secure Server Identity Checks for Safer SMTPS Communication dist/quarkus #33987 keycloak.v2 registration: Password policy validation error "errorList is null" login/ui #34042 LDAP Pagination not working for role membership in GET_ROLES_FROM_USER_MEMBEROF_ATTRIBUTE strategy ldap #34050 Listing federated LDAP users is very slow with import enabled ldap #34093 java.util.ConcurrentModificationException when process user sessions update infinispan #34412 LDAP: searching users with import disabled is slower since fix for 34050 ldap

## Bun v1.1.31

DevFeed: [Bun v1.1.31](<https://devfeed.tech/articles/bun-v1-1-31-49403.md>)

Original publisher: [Read original article](<https://bun.com/blog/bun-v1.1.31>)

Author: Ashcon Partovi

Published: 2024-10-18T03:55:06Z

Content type: release

Language: en

Sources: [Bun](<https://devfeed.tech/sources/bun-com.md>)

Topics: [Bun](<https://devfeed.tech/topics/bun.md>), [gRPC](<https://devfeed.tech/topics/grpc.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>), [Promise](<https://devfeed.tech/topics/promise.md>)

Tags: [blog](<https://devfeed.tech/tags/blog.md>), [bugfixes](<https://devfeed.tech/tags/bugfixes.md>), [bun](<https://devfeed.tech/tags/bun.md>), [compatibility](<https://devfeed.tech/tags/compatibility.md>), [data](<https://devfeed.tech/tags/data.md>), [databases](<https://devfeed.tech/tags/databases.md>), [debug](<https://devfeed.tech/tags/debug.md>), [grpc](<https://devfeed.tech/tags/grpc.md>), [http2](<https://devfeed.tech/tags/http2.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [install](<https://devfeed.tech/tags/install.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [js](<https://devfeed.tech/tags/js.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>), [v1](<https://devfeed.tech/tags/v1.md>)

### AI overview

Bun v1.1.31 fixes 41 bugs and adds HTTP/2 and gRPC server support, certificate configuration for package installation, bundle call removal, table formatting, iterable SQLite queries, iterator helpers, Promise.try, Buffer.copyBytesFrom, and Node.js compatibility improvements.

### Source excerpt

Fixes 41 bugs (addressing 595 👍). node:http2 server and gRPC server support, ca and cafile support in bun install, Bun.inspect.table, bun build --drop, iterable SQLite queries, iterator helpers, Promise.try, Buffer.copyBytesFrom, and several Node.js compatibility improvements and bugfixes.

## Promise queues and batching concurrent tasks in Deno

DevFeed: [Promise queues and batching concurrent tasks in Deno](<https://devfeed.tech/articles/promise-queues-and-batching-concurrent-tasks-in-deno-8056.md>)

Original publisher: [Read original article](<https://snyk.io/blog/promise-queues-concurrent-tasks-deno/>)

Author: Liran Tal

Published: 2024-09-25T04:00:00Z

Content type: tutorial

Language: en

Sources: [Snyk](<https://devfeed.tech/sources/blog-rss-feed-snyk.md>)

Topics: [Deno](<https://devfeed.tech/topics/deno.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [application-security](<https://devfeed.tech/tags/application-security.md>), [batching](<https://devfeed.tech/tags/batching.md>), [blog](<https://devfeed.tech/tags/blog.md>), [code-security](<https://devfeed.tech/tags/code-security.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [developer](<https://devfeed.tech/tags/developer.md>), [java](<https://devfeed.tech/tags/java.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [memory](<https://devfeed.tech/tags/memory.md>), [performance](<https://devfeed.tech/tags/performance.md>), [queue](<https://devfeed.tech/tags/queue.md>), [queuing](<https://devfeed.tech/tags/queuing.md>), [security](<https://devfeed.tech/tags/security.md>), [snyk-apprisk](<https://devfeed.tech/tags/snyk-apprisk.md>), [snyk-code](<https://devfeed.tech/tags/snyk-code.md>)

### AI overview

This tutorial explains how Promise queues and task batching can manage concurrent asynchronous tasks in Deno more efficiently. It covers JavaScript's single-threaded, event-driven model, the limitations of running many promises together, and how queuing can reduce memory pressure and prevent one failed task from causing complete failure.

### Source excerpt

Learn how to create secure applications using Deno. Explore the default security measures provided by Deno, understand potential vulnerabilities such as Server-Side Request Forgery (SSRF), and uncover the best practices for minimizing risks. Enhance your application's security by leveraging Deno's advanced features.

## Introducing the WebAssembly JavaScript Promise Integration API

DevFeed: [Introducing the WebAssembly JavaScript Promise Integration API](<https://devfeed.tech/articles/introducing-the-webassembly-javascript-promise-integration-api-3526.md>)

Original publisher: [Read original article](<https://v8.dev/blog/jspi>)

Author: Francis McCabe, Thibaud Michaud, Ilya Rezvov, Brendan Dahl

Published: 2024-07-01T00:00:00Z

Content type: tutorial

Language: en

Sources: [V8](<https://devfeed.tech/sources/v8.md>)

Topics: [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>), [API](<https://devfeed.tech/topics/api.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Web APIs](<https://devfeed.tech/topics/web-apis.md>), [Programming](<https://devfeed.tech/topics/programming.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [apis](<https://devfeed.tech/tags/apis.md>), [code](<https://devfeed.tech/tags/code.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [web](<https://devfeed.tech/tags/web.md>), [web-apis](<https://devfeed.tech/tags/web-apis.md>), [webassembly](<https://devfeed.tech/tags/webassembly.md>)

### AI overview

This article introduces the WebAssembly JavaScript Promise Integration (JSPI) API. JSPI enables WebAssembly applications designed around synchronous APIs to work with asynchronous JavaScript and Web APIs by suspending execution during asynchronous operations and resuming it when they complete. The approach requires few changes to the WebAssembly application and is illustrated with development guidance and examples.

### Source excerpt

The JavaScript Promise Integration (JSPI) API allows WebAssembly applications that were written assuming synchronous access to external functionality to operate smoothly in an environment where the functionality is actually asynchronous. This note outlines what the core capabilities of the JSPI API are, how to access it, how to develop software for it and offers some examples to try out. What is 'JSPI' for? # Asynchronous APIs operate by separating the initiation of the operation from its resolution; with the latter coming some time after the first. Most importantly, the application continues execution after kicking off the operation; and is then notified when the operation completes. For example, using the fetch API, Web applications can access the contents associated with a URL; however, the fetch function does not directly return the results of the fetch; instead it returns a Promise object. The connection between the fetch response and the original request is reestablished by attaching a callback to that Promise object. The callback function can inspect the response and collect the data (if it is there of course). On the other hand, many cases C/C++ (and many other languages) applications are originally written against a synchronous API. For example, the Posix read function does not complete until the I/O operation is complete: the read function blocks until the read is complete. However, it is not permitted to block the browser's main thread; and many environments are not supportive of synchronous programming. The result is a mismatch between the desires of the application programmer for a simple to use API and the wider ecosystem that requires I/O to be crafted with asynchronous code. This is especially a problem for existing legacy applications that would be expensive to port. The JSPI is an API that bridges the gap between synchronous applications and asynchronous Web APIs. It works by intercepting Promise objects returned by asynchronous Web API functions a

## Fastify plugins as building blocks for a backend Node.js API

DevFeed: [Fastify plugins as building blocks for a backend Node.js API](<https://devfeed.tech/articles/fastify-plugins-as-building-blocks-for-a-backend-node-js-api-7915.md>)

Original publisher: [Read original article](<https://snyk.io/blog/fastify-plugins-for-backend-node-js-api/>)

Author: Liran Tal

Published: 2024-05-28T05:00:00Z

Content type: article

Language: en

Sources: [Snyk](<https://devfeed.tech/sources/blog-rss-feed-snyk.md>)

Topics: [Fastify](<https://devfeed.tech/topics/fastify.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [API](<https://devfeed.tech/topics/api.md>), [Application Development](<https://devfeed.tech/topics/application-development.md>), [async/await](<https://devfeed.tech/topics/async-await.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [Routing (disambiguation)](<https://devfeed.tech/topics/routing.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [application-security](<https://devfeed.tech/tags/application-security.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [awareness](<https://devfeed.tech/tags/awareness.md>), [backend](<https://devfeed.tech/tags/backend.md>), [blog](<https://devfeed.tech/tags/blog.md>), [blog-post](<https://devfeed.tech/tags/blog-post.md>), [code](<https://devfeed.tech/tags/code.md>), [developer](<https://devfeed.tech/tags/developer.md>), [devrel](<https://devfeed.tech/tags/devrel.md>), [ecosystem](<https://devfeed.tech/tags/ecosystem.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [node](<https://devfeed.tech/tags/node.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [performance](<https://devfeed.tech/tags/performance.md>), [plugin](<https://devfeed.tech/tags/plugin.md>), [routing](<https://devfeed.tech/tags/routing.md>), [snyk-code](<https://devfeed.tech/tags/snyk-code.md>), [snyk-open-source](<https://devfeed.tech/tags/snyk-open-source.md>), [speed](<https://devfeed.tech/tags/speed.md>), [web](<https://devfeed.tech/tags/web.md>), [web-applications](<https://devfeed.tech/tags/web-applications.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

### AI overview

This article presents Fastify and its plugin ecosystem as building blocks for backend Node.js APIs. It discusses Fastify's low overhead, performance-oriented architecture, open source community, native ECMAScript module support, async/await route definitions, promise-based asynchronous code, and radix-tree routing for efficient request handling.

### Source excerpt

This blog post will focus on the foundational building blocks of building backend Node.js APIs using Fastify and its recommended plugins in 2024.

## WebAssembly JSPI is going to origin trial

DevFeed: [WebAssembly JSPI is going to origin trial](<https://devfeed.tech/articles/webassembly-jspi-is-going-to-origin-trial-3528.md>)

Original publisher: [Read original article](<https://v8.dev/blog/jspi-ot>)

Author: Francis McCabe, Thibaud Michaud, Ilya Rezvov, Brendan Dahl

Published: 2024-03-06T00:00:00Z

Content type: tutorial

Language: en

Sources: [V8](<https://devfeed.tech/sources/v8.md>)

Topics: [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>), [API](<https://devfeed.tech/topics/api.md>), [Google Chrome](<https://devfeed.tech/topics/google-chrome.md>), [Web APIs](<https://devfeed.tech/topics/web-apis.md>), [Promise](<https://devfeed.tech/topics/promise.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [chrome](<https://devfeed.tech/tags/chrome.md>), [garbage-collection](<https://devfeed.tech/tags/garbage-collection.md>), [pre-release](<https://devfeed.tech/tags/pre-release.md>), [web-apis](<https://devfeed.tech/tags/web-apis.md>), [webassembly](<https://devfeed.tech/tags/webassembly.md>)

### AI overview

WebAssembly's JavaScript Promise Integration (JSPI) API is entering a Chrome M123 origin trial. It lets sequential code compiled to WebAssembly access asynchronous Web APIs by suspending a WebAssembly application when a Promise is returned and resuming it when the Promise resolves. The article explains the Emscripten requirement, origin-trial registration options, standardization status, and performance caveats related to spawned computations and garbage collection.

### Source excerpt

WebAssembly's JavaScript Promise Integration (JSPI) API is entering an origin trial, with Chrome release M123. What that means is that you can test whether you and your users can benefit from this new API. JSPI is an API that allows so-called sequential code - that has been compiled to WebAssembly - to access Web APIs that are asynchronous. Many Web APIs are crafted in terms of JavaScript Promises: instead of immediately performing the requested operation they return a Promise to do so. When the action is finally performed, the browser's task runner invokes any callbacks with the Promise. JSPI hooks into this architecture to allow a WebAssembly application to be suspended when the Promise is returned and resumed when the Promise is resolved. You can find out more about JSPI and how to use it here and the specification itself is here. Requirements # Apart from registering for an origin trial, you will also need to generate the appropriate WebAssembly and JavaScript. If you are using Emscripten, then this is straightforward. You should ensure that you are using at least version 3.1.47. Registering for the origin trial # JSPI is still pre-release; it is going through a standardization process and will not be fully released until we get to phase 4 of that process. To use it today, you can set a flag in the Chrome browser; or, you can apply for an origin trial token that will allow your users to access it without having to set the flag themselves. To register you can go here, make sure to follow the registration signup process. To find out more about origin trials in general, this is a good starting place. Some potential caveats # There have been some discussions in the WebAssembly community about some aspects of the JSPI API. As a result, there are some changes indicated, which will take time to fully work their way through the system. We anticipate that these changes will be soft launched: we will share the changes as they become available, however, the existing API wi

## Streaming, snapshots, and other new features since SvelteKit 1.0

DevFeed: [Streaming, snapshots, and other new features since SvelteKit 1.0](<https://devfeed.tech/articles/streaming-snapshots-and-other-new-features-since-sveltekit-1-0-3035.md>)

Original publisher: [Read original article](<https://svelte.dev/blog/streaming-snapshots-sveltekit>)

Author: Geoff Rich, Rich Harris

Published: 2023-02-21T00:00:00Z

Content type: article

Language: en

Sources: [Svelte](<https://devfeed.tech/sources/svelte-blog.md>)

Topics: [Svelte](<https://devfeed.tech/topics/svelte.md>), [Streaming](<https://devfeed.tech/topics/streaming.md>), [Promise](<https://devfeed.tech/topics/promise.md>)

Tags: [await](<https://devfeed.tech/tags/await.md>), [new-features](<https://devfeed.tech/tags/new-features.md>), [streaming](<https://devfeed.tech/tags/streaming.md>), [svelte](<https://devfeed.tech/tags/svelte.md>)

### AI overview

This article describes SvelteKit features shipped since version 1.0, focusing on streaming non-essential data from nested promises in server load functions. It explains that pages can begin rendering before nested data resolves, while hosting support determines whether responses are streamed or buffered.

### Source excerpt

The Svelte team has been hard at work since the release of SvelteKit 1.0. Let's talk about some of the major new features that have shipped since launch: streaming non-essential data, snapshots, and route-level config. Stream non-essential data in load functions SvelteKit uses load functions to retrieve data for a given route. When navigating between pages, it first fetches the data, and then renders the page with the result. This could be a problem if some of the data for the page takes longer to load than others, especially if the data isn't essential - the user won't see any part of the new page until all the data is ready. There were ways to work around this. In particular, you could fetch the slow data in the component itself, so it first renders with the data from load and then starts fetching the slow data. But this was not ideal: the data is even more delayed since you don't start fetching until the client renders, and you're also having to break SvelteKit's load convention. Now, in SvelteKit 1.8, we have a new solution: you can return a nested promise from a server load function, and SvelteKit will start rendering the page before it resolves. Once it completes, the result will be streamed to the page. For example, consider the following load function: export const const load: PageServerLoadload: PageServerLoad = () => { return { post: anypost: fetchPost(), streamed: { comments: any; }streamed: { comments: anycomments: fetchComments() } }; }; SvelteKit will automatically await the fetchPost call before it starts rendering the page, since it's at the top level. However, it won't wait for the nested fetchComments call to complete - the page will render and data.streamed.comments will be a promise that will resolve as the request completes. We can show a loading state in the corresponding +page.svelte using Svelte's await block: <script lang="ts"> import type { PageData } from './$types'; export let data: PageData; </script> <article> {data.post} </article> {#a

## Seeding the Query Cache

DevFeed: [Seeding the Query Cache](<https://devfeed.tech/articles/seeding-the-query-cache-48231.md>)

Original publisher: [Read original article](<https://tkdodo.eu/blog/seeding-the-query-cache>)

Published: 2022-10-22T00:00:00Z

Content type: article

Language: en

Sources: [TkDodo](<https://devfeed.tech/sources/tkdodo-s-blog.md>)

Topics: [Cache](<https://devfeed.tech/topics/cache.md>), [fetch](<https://devfeed.tech/topics/fetch.md>), [Parallelism](<https://devfeed.tech/topics/parallelism.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [render](<https://devfeed.tech/topics/render.md>), [React Native](<https://devfeed.tech/topics/react-native.md>)

Tags: [cache](<https://devfeed.tech/tags/cache.md>), [fetch](<https://devfeed.tech/tags/fetch.md>), [fetching](<https://devfeed.tech/tags/fetching.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [performance](<https://devfeed.tech/tags/performance.md>), [query](<https://devfeed.tech/tags/query.md>), [react](<https://devfeed.tech/tags/react.md>), [render](<https://devfeed.tech/tags/render.md>), [request](<https://devfeed.tech/tags/request.md>)

### AI overview

This article explains how improperly seeded caches can cause fetch waterfalls when using React Query with suspense. It describes parallel data fetching, dependent queries, and the performance impact of multiple suspending queries in one component.

### Source excerpt

With suspense for data fetching on the horizon, it is now more important than ever to make sure your cache is seeded properly to avoid fetch waterfalls.

## Offline React Query

DevFeed: [Offline React Query](<https://devfeed.tech/articles/offline-react-query-48203.md>)

Original publisher: [Read original article](<https://tkdodo.eu/blog/offline-react-query>)

Published: 2022-02-05T00:00:00Z

Content type: article

Language: en

Sources: [TkDodo](<https://devfeed.tech/sources/tkdodo-s-blog.md>)

Topics: [React](<https://devfeed.tech/topics/react.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [async](<https://devfeed.tech/topics/async.md>), [Network](<https://devfeed.tech/topics/network.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [Edge](<https://devfeed.tech/topics/edge.md>), [Developer Tools](<https://devfeed.tech/topics/developer-tools.md>), [processing](<https://devfeed.tech/topics/processing.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [browser](<https://devfeed.tech/tags/browser.md>), [caching](<https://devfeed.tech/tags/caching.md>), [devtools](<https://devfeed.tech/tags/devtools.md>), [network](<https://devfeed.tech/tags/network.md>), [processing](<https://devfeed.tech/tags/processing.md>), [react](<https://devfeed.tech/tags/react.md>), [retries](<https://devfeed.tech/tags/retries.md>), [worker](<https://devfeed.tech/tags/worker.md>)

### AI overview

This article examines how React Query handles offline scenarios. It explains how cached data can support continued work without a network connection and describes edge cases involving paused queries, retries, network state, window focus, and React Query Devtools in version 3, while previewing improvements in version 4.

### Source excerpt

A glimpse at what v4 will bring for offline queries

## React Query Error Handling

DevFeed: [React Query Error Handling](<https://devfeed.tech/articles/react-query-error-handling-48220.md>)

Original publisher: [Read original article](<https://tkdodo.eu/blog/react-query-error-handling>)

Published: 2021-09-10T00:00:00Z

Content type: tutorial

Language: en

Sources: [TkDodo](<https://devfeed.tech/sources/tkdodo-s-blog.md>)

Topics: [Error Handling](<https://devfeed.tech/topics/error-handling.md>), [React](<https://devfeed.tech/topics/react.md>), [runtime errors](<https://devfeed.tech/topics/runtime-errors.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [axios](<https://devfeed.tech/topics/axios.md>), [fetch](<https://devfeed.tech/topics/fetch.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>)

Tags: [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [axios](<https://devfeed.tech/tags/axios.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [fallback](<https://devfeed.tech/tags/fallback.md>), [fetch](<https://devfeed.tech/tags/fetch.md>), [react](<https://devfeed.tech/tags/react.md>), [runtime-errors](<https://devfeed.tech/tags/runtime-errors.md>)

### AI overview

A tutorial on handling failed asynchronous data-fetching requests in React Query. It explains rejected Promises, adapting fetch responses, component-level error states, background refetch failures, boilerplate, and React Error Boundaries.

### Source excerpt

After covering the sunshine cases of data fetching, it's time to look at situations where things don't go as planned and "Something went wrong..."

## React Query as a State Manager

DevFeed: [React Query as a State Manager](<https://devfeed.tech/articles/react-query-as-a-state-manager-48218.md>)

Original publisher: [Read original article](<https://tkdodo.eu/blog/react-query-as-a-state-manager>)

Published: 2021-08-20T00:00:00Z

Content type: article

Language: en

Sources: [TkDodo](<https://devfeed.tech/sources/tkdodo-s-blog.md>)

Topics: [React](<https://devfeed.tech/topics/react.md>), [async](<https://devfeed.tech/topics/async.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [API](<https://devfeed.tech/topics/api.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [async](<https://devfeed.tech/tags/async.md>), [axios](<https://devfeed.tech/tags/axios.md>), [data](<https://devfeed.tech/tags/data.md>), [fetch](<https://devfeed.tech/tags/fetch.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [react](<https://devfeed.tech/tags/react.md>), [source-of-truth](<https://devfeed.tech/tags/source-of-truth.md>), [state](<https://devfeed.tech/tags/state.md>)

### AI overview

This article explains that React Query is an asynchronous state manager rather than a data-fetching library. It manages server state, shares query data across components, deduplicates simultaneous requests, and helps synchronize frontend views with backend data while accounting for staleness.

### Source excerpt

Everything you need to know to make React Query your single source of truth state manager for your async state

## About async functions

DevFeed: [About async functions](<https://devfeed.tech/articles/about-async-functions-48172.md>)

Original publisher: [Read original article](<https://tkdodo.eu/blog/about-async-functions>)

Published: 2021-07-23T00:00:00Z

Content type: article

Language: en

Sources: [TkDodo](<https://devfeed.tech/sources/tkdodo-s-blog.md>)

Topics: [async](<https://devfeed.tech/topics/async.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [async/await](<https://devfeed.tech/topics/async-await.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [await](<https://devfeed.tech/topics/await.md>), [fetch](<https://devfeed.tech/topics/fetch.md>), [axios](<https://devfeed.tech/topics/axios.md>), [Scala](<https://devfeed.tech/topics/scala.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [await](<https://devfeed.tech/tags/await.md>), [axios](<https://devfeed.tech/tags/axios.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [fetch](<https://devfeed.tech/tags/fetch.md>), [javascript](<https://devfeed.tech/tags/javascript.md>)

### AI overview

A deep dive into JavaScript async functions, explaining how async/await relates to promise chaining, why async functions always return promises, and how this affects control flow and error handling.

### Source excerpt

A deep dive into async functions and how they are different from promise chaining

[Next page](<https://devfeed.tech/topics/promise.md?cursor=WyIyMDIxLTA3LTIzVDAwOjAwOjAwKzAwOjAwIiwgImM2ZjU3MDI5LTAxODEtNDg2MS1iMDZiLWZiZWJiODVhY2RhOCJd>)