# callback

A callback function is a function passed as an argument to another function and invoked inside it to perform a routine or action.

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

## Golioth Firmware SDK v0.23.0

DevFeed: [Golioth Firmware SDK v0.23.0](<https://devfeed.tech/articles/golioth-firmware-sdk-v0-23-0-136263.md>)

Original publisher: [Read original article](<https://blog.golioth.io/golioth-frimware-sdk-v0-23-0/>)

Author: Marko Puric

Published: 2026-11-16T16:51:01Z

Content type: release

Language: en

Sources: [Golioth](<https://devfeed.tech/sources/the-golioth-developer-blog.md>)

Topics: [Embedded Software Dev](<https://devfeed.tech/topics/embedded-software-dev.md>), [SDK](<https://devfeed.tech/topics/sdk.md>), [callback](<https://devfeed.tech/topics/callback.md>), [firmware-update](<https://devfeed.tech/topics/firmware-update.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [async](<https://devfeed.tech/tags/async.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [callback](<https://devfeed.tech/tags/callback.md>), [esp32](<https://devfeed.tech/tags/esp32.md>), [ethernet](<https://devfeed.tech/tags/ethernet.md>), [firmware](<https://devfeed.tech/tags/firmware.md>), [firmware-update](<https://devfeed.tech/tags/firmware-update.md>), [flash](<https://devfeed.tech/tags/flash.md>), [golioth](<https://devfeed.tech/tags/golioth.md>), [golioth-firmware-sdk](<https://devfeed.tech/tags/golioth-firmware-sdk.md>), [release](<https://devfeed.tech/tags/release.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [zephyr](<https://devfeed.tech/tags/zephyr.md>)

### AI overview

Golioth Firmware SDK v0.23.0 replaces most synchronous and `_async`-suffixed service calls with one callback-based API. Existing async callers mainly rename functions; former sync callers must provide callbacks, and the return value now indicates only whether a request was queued. Applications can wait on callbacks, except from within another Golioth callback. The release also changes Zephyr firmware-update setup to `golioth_fw_update_run()` and requires two additional Kconfig options for sample-based applications. The nRF9160 DK sample's external-flash layout prevents OTA upgrades from earlier sample builds, which must be reflashed with MCUboot. Platform support advances to Zephyr v4.3.0 and nRF Connect SDK v3.2.3; the `golioth_esp_at` shield is removed, and users relying on it must provide it in their board root. The release includes Zephyr networking, transfer, and thread-stack fixes; apply Zephyr patches after `west update`. The changelog is recommended before upgrading because several changes are breaking.

### Source excerpt

Today, we released v0.23.0 of the Golioth Firmware SDK. This release removes the synchronous API in favor of a single callback-based one, reworks the firmware update sample, and updates our Zephyr and nRF Connect SDK support. It also includes a long list of fixes, most of them on Zephyr. Several of the changes are breaking, [...] The post Golioth Firmware SDK v0.23.0 appeared first on The Golioth Developer Blog.

## Morphing a Floating Action Button into a Dialog in Compose Multiplatform

DevFeed: [Morphing a Floating Action Button into a Dialog in Compose Multiplatform](<https://devfeed.tech/articles/morphing-a-floating-action-button-into-a-dialog-in-compose-multiplatform-96502.md>)

Original publisher: [Read original article](<https://joebirch.co/uncategorized/morphing-a-floating-action-button-into-a-dialog-in-compose-multiplatform/>)

Author: hitherejoe

Published: 2026-10-23T02:06:12Z

Content type: tutorial

Language: en

Sources: [Joe Birch](<https://devfeed.tech/sources/joe-birch.md>)

Topics: [compose-multiplatform](<https://devfeed.tech/topics/compose-multiplatform.md>), [Interaction Design](<https://devfeed.tech/topics/interaction-design.md>), [User interface design](<https://devfeed.tech/topics/ui-design.md>), [multiplatform](<https://devfeed.tech/topics/multiplatform.md>), [Library](<https://devfeed.tech/topics/library.md>), [callback](<https://devfeed.tech/topics/callback.md>)

Tags: [alert](<https://devfeed.tech/tags/alert.md>), [button](<https://devfeed.tech/tags/button.md>), [compose](<https://devfeed.tech/tags/compose.md>), [compose-multiplatform](<https://devfeed.tech/tags/compose-multiplatform.md>), [dialog](<https://devfeed.tech/tags/dialog.md>), [multiplatform](<https://devfeed.tech/tags/multiplatform.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>)

### AI overview

MorphingFab animates a floating action button into a dialog by treating both as one Surface driven by a single progress value. It interpolates position, size, corner radius, and color, while separate fade thresholds hide the icon early and reveal dialog content late; the content is measured at its final size so text does not reflow during the morph. At rest the FAB stays in the composable tree so other screen touches work. During animation it moves to a full-window Popup overlay with a scrim, then returns to the tree when collapsed. The component receives expanded state from its caller and only reports click or dismissal requests; Android handles system back, while the iOS back handler is currently a no-op. It should be placed at the screen root because it measures its parent to locate the FAB; for Scaffold's floating action button slot, the library provides an anchor-based placement.

### Source excerpt

When a floating action button kicks off an action that requires a paid plan, such as when free users hit their binder limit in Sleevd, we show an alert dialog to prompt the user to upgrade. In most apps, this dialog fades in at the centre of the screen with no connection to the button... Continue reading ->

## On-Demand Masked Sessions with Twilio Proxy, Voice and Serverless

DevFeed: [On-Demand Masked Sessions with Twilio Proxy, Voice and Serverless](<https://devfeed.tech/articles/on-demand-masked-sessions-with-twilio-proxy-voice-and-serverless-41425.md>)

Original publisher: [Read original article](<https://www.twilio.com/en-us/blog/developers/tutorials/integrations/just-in-time-masked-calls-proxy>)

Author: Leroy Chan

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

Content type: tutorial

Language: en

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

Topics: [proxy](<https://devfeed.tech/topics/proxy.md>), [sessions](<https://devfeed.tech/topics/sessions.md>), [communications](<https://devfeed.tech/topics/communications.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [function](<https://devfeed.tech/topics/function.md>), [callback](<https://devfeed.tech/topics/callback.md>)

Tags: [backend](<https://devfeed.tech/tags/backend.md>), [callback](<https://devfeed.tech/tags/callback.md>), [communications](<https://devfeed.tech/tags/communications.md>), [developer-insights](<https://devfeed.tech/tags/developer-insights.md>), [functions](<https://devfeed.tech/tags/functions.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [ridesharing](<https://devfeed.tech/tags/ridesharing.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [sessions](<https://devfeed.tech/tags/sessions.md>), [state](<https://devfeed.tech/tags/state.md>), [voice](<https://devfeed.tech/tags/voice.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

### AI overview

This tutorial explains how to build an on-demand masked calling system with Twilio Proxy, Twilio Voice, and Twilio Serverless Functions. It uses a reserved Twilio number, IVR-based tracking-code collection, a backend lookup, and a two-bounce workflow with Twilio Sync to create private sessions dynamically when phone numbers cannot be pre-associated.

### Source excerpt

Manage marketplace communications without pre-associating numbers. Use Twilio Proxy, Voice, and Serverless to build dynamic, Just-in-Time masked session calls.

## The case of the progress callback that never got called when progress happened

DevFeed: [The case of the progress callback that never got called when progress happened](<https://devfeed.tech/articles/the-case-of-the-progress-callback-that-never-got-called-when-progress-happened-21755.md>)

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

Author: Raymond Chen

Published: 2026-09-03T14:00:00Z

Content type: article

Language: en

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

Topics: [callback](<https://devfeed.tech/topics/callback.md>), [debugging](<https://devfeed.tech/topics/debugging.md>)

Tags: [breakpoint](<https://devfeed.tech/tags/breakpoint.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [callback](<https://devfeed.tech/tags/callback.md>), [code](<https://devfeed.tech/tags/code.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [download](<https://devfeed.tech/tags/download.md>), [execution](<https://devfeed.tech/tags/execution.md>), [handler](<https://devfeed.tech/tags/handler.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [progress](<https://devfeed.tech/tags/progress.md>), [progress-report](<https://devfeed.tech/tags/progress-report.md>), [projection](<https://devfeed.tech/tags/projection.md>), [providers](<https://devfeed.tech/tags/providers.md>), [token](<https://devfeed.tech/tags/token.md>), [wrapper](<https://devfeed.tech/tags/wrapper.md>)

### AI overview

The progress callback was silent because the wrapper operation never reported progress: it did not call its progress-reporting method or pass values to the callback token. The intended reports belonged to the provider's inner download operation, but the wrapper exposed only its own operation, so the caller could not subscribe to the inner operation's progress. The suggested easy fix is to return the provider's operation directly, letting the caller connect to its progress; the excerpt says a harder solution will be covered later.

### Source excerpt

Are you talking to the right guy? The post The case of the progress callback that never got called when progress happened appeared first on The Old New Thing.

## Going Backward: Reinventing Go's iterator

DevFeed: [Going Backward: Reinventing Go's iterator](<https://devfeed.tech/articles/going-backward-reinventing-go-s-iterator-60418.md>)

Original publisher: [Read original article](<https://antonz.org/going-backward/>)

Author: Anton Zhiyanov

Published: 2026-08-03T12:00:00Z

Content type: tutorial

Language: en

Sources: [Anton Zhiyanov](<https://devfeed.tech/sources/anton-zhiyanov.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [Code](<https://devfeed.tech/topics/code.md>), [function](<https://devfeed.tech/topics/function.md>), [callback](<https://devfeed.tech/topics/callback.md>), [Closure](<https://devfeed.tech/topics/closure.md>), [implementation](<https://devfeed.tech/topics/implementation.md>)

Tags: [callback](<https://devfeed.tech/tags/callback.md>), [closure](<https://devfeed.tech/tags/closure.md>), [code](<https://devfeed.tech/tags/code.md>), [function](<https://devfeed.tech/tags/function.md>), [generics](<https://devfeed.tech/tags/generics.md>), [go](<https://devfeed.tech/tags/go.md>), [go-development](<https://devfeed.tech/tags/go-development.md>), [implementation](<https://devfeed.tech/tags/implementation.md>)

### AI overview

An exploration of how to build a generic iterator in Go, progressing from reversing a copied slice to closure-based and callback-based implementations. It discusses memory use, calling style, and early termination.

### Source excerpt

Building a generic iterator wheel from scratch.

## Authentication Bypass in the default configuration phpBB

DevFeed: [Authentication Bypass in the default configuration phpBB](<https://devfeed.tech/articles/authentication-bypass-in-the-default-configuration-phpbb-51604.md>)

Original publisher: [Read original article](<https://www.aikido.dev/blog/authentication-bypass-phpbb-technical-writeup>)

Author: Jorian Woltjer

Published: 2026-07-03T23:45:00Z

Content type: article

Language: en

Sources: [Aikido Security's Blog](<https://devfeed.tech/sources/aikido-security-s-blog.md>)

Topics: [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [Exploit](<https://devfeed.tech/topics/exploit.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [OAuth](<https://devfeed.tech/topics/oauth.md>), [callback](<https://devfeed.tech/topics/callback.md>), [Query (disambiguation)](<https://devfeed.tech/topics/query.md>), [configuration](<https://devfeed.tech/topics/configuration.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [authentication-bypass](<https://devfeed.tech/tags/authentication-bypass.md>), [critical](<https://devfeed.tech/tags/critical.md>), [cve](<https://devfeed.tech/tags/cve.md>), [exploit](<https://devfeed.tech/tags/exploit.md>), [oauth](<https://devfeed.tech/tags/oauth.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>)

### AI overview

A technical write-up describes CVE-2026-48611, a critical authentication bypass in phpBB's default configuration. The flaw allowed an unauthenticated request to log in to any account, including administrator accounts, and was patched in phpBB 3.3.17.

### Source excerpt

Our AI pentest agents found a critical phpBB auth bypass (CVE-2026-48611): one unauthenticated request logs you into any account. See the exploit and the fix. Category: Vulnerabilities & Threats

## Partial Function Application is coming in PHP 8.6

DevFeed: [Partial Function Application is coming in PHP 8.6](<https://devfeed.tech/articles/partial-function-application-is-coming-in-php-8-6-20473.md>)

Original publisher: [Read original article](<https://www.amitmerchant.com/partial-function-application-php-86/>)

Author: Amit Merchant

Published: 2025-12-05T00:00:00Z

Content type: article

Language: en

Sources: [Amit Merchant](<https://devfeed.tech/sources/amit-merchant.md>)

Topics: [PHP](<https://devfeed.tech/topics/php.md>), [callback](<https://devfeed.tech/topics/callback.md>), [function](<https://devfeed.tech/topics/function.md>), [Parameter](<https://devfeed.tech/topics/parameter.md>), [Boilerplate](<https://devfeed.tech/topics/boilerplate.md>), [Server](<https://devfeed.tech/topics/server.md>)

Tags: [arguments](<https://devfeed.tech/tags/arguments.md>), [array](<https://devfeed.tech/tags/array.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [boilerplate](<https://devfeed.tech/tags/boilerplate.md>), [callback](<https://devfeed.tech/tags/callback.md>), [closure](<https://devfeed.tech/tags/closure.md>), [code](<https://devfeed.tech/tags/code.md>), [factory](<https://devfeed.tech/tags/factory.md>), [function](<https://devfeed.tech/tags/function.md>), [header](<https://devfeed.tech/tags/header.md>), [http](<https://devfeed.tech/tags/http.md>), [operator](<https://devfeed.tech/tags/operator.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [php](<https://devfeed.tech/tags/php.md>), [php-8-6](<https://devfeed.tech/tags/php-8-6.md>), [static](<https://devfeed.tech/tags/static.md>), [types](<https://devfeed.tech/tags/types.md>)

### AI overview

PHP 8.6 Partial Function Application lets you call a function with some arguments supplied and placeholders for the rest, producing a Closure whose parameters correspond to the missing arguments. The excerpt describes placeholders for one argument or for forwarding remaining arguments, and says multiple holes, named arguments, variadic functions, pipe-friendly use, and thunk functions are supported. Its practical example preconfigures an Authorization header name and value, leaving a request array to be supplied later. The feature is presented as a way to avoid boilerplate arrow functions when configuring callbacks or rearranging arguments. Constructors cannot be partially applied; the excerpt suggests static methods or factory functions instead. The supplied text is an excerpt, so it does not establish full syntax or behavior.

### Source excerpt

Ever reach for a simple callback and end up writing a tiny novella--an arrow function stuffed with types, reordered parameters, and boilerplate just to pass one value through?

## Ref Callbacks, React 19 and the Compiler

DevFeed: [Ref Callbacks, React 19 and the Compiler](<https://devfeed.tech/articles/ref-callbacks-react-19-and-the-compiler-48226.md>)

Original publisher: [Read original article](<https://tkdodo.eu/blog/ref-callbacks-react-19-and-the-compiler>)

Published: 2024-12-08T00: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>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [callback](<https://devfeed.tech/topics/callback.md>)

Tags: [callback](<https://devfeed.tech/tags/callback.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [performance](<https://devfeed.tech/tags/performance.md>), [react](<https://devfeed.tech/tags/react.md>)

### AI overview

An article revisiting callback refs in React 19, including how the React Compiler changes the author's thinking about useCallback and when callback functions should be moved outside components. It also discusses using refs to interact with DOM nodes and store measurements in React state.

### Source excerpt

Reflecting on useCallback, how the Compiler changed my thinking about it, and what React 19 has in store for Ref Callbacks...

## How to force update (& test) your Android app using Google's in-app update library

DevFeed: [How to force update (& test) your Android app using Google's in-app update library](<https://devfeed.tech/articles/how-to-force-update-test-your-android-app-using-google-s-in-app-update-library-38571.md>)

Original publisher: [Read original article](<https://blog.jakelee.co.uk/googles-force-update-android-app-library/>)

Author: Jake Lee

Published: 2024-11-09T00:00:00Z

Content type: tutorial

Language: en

Sources: [Jake Lee's Programming Blog](<https://devfeed.tech/sources/jake-lee-s-programming-blog.md>)

Topics: [LineageOS](<https://devfeed.tech/topics/lineageos.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Library](<https://devfeed.tech/topics/library.md>), [Google](<https://devfeed.tech/topics/google.md>), [callback](<https://devfeed.tech/topics/callback.md>), [Code](<https://devfeed.tech/topics/code.md>), [Users](<https://devfeed.tech/topics/users.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [callback](<https://devfeed.tech/tags/callback.md>), [code](<https://devfeed.tech/tags/code.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [google](<https://devfeed.tech/tags/google.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [library](<https://devfeed.tech/tags/library.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

A Kotlin-focused tutorial on using Google's Android in-app updates library to implement mandatory immediate updates, including Gradle setup, update checks, dialog handling, callbacks, and app closure when the user cancels.

### Source excerpt

Earlier this year, I needed to add the ability to force update users of an app. Whilst I've used custom solutions in the past, Google has a standardised "in-app updates" library that does all the essentials for you!

## Fixing the iterative damping interpolation in video games

DevFeed: [Fixing the iterative damping interpolation in video games](<https://devfeed.tech/articles/fixing-the-iterative-damping-interpolation-in-video-games-26115.md>)

Original publisher: [Read original article](<http://blog.pkh.me/p/41-fixing-the-iterative-damping-interpolation-in-video-games.html>)

Published: 2024-05-18T12:22:15Z

Content type: article

Language: en

Sources: [Last Static](<https://devfeed.tech/sources/the-last-static-blog-rss.md>)

Topics: [Game Development](<https://devfeed.tech/topics/game-development.md>), [Godot](<https://devfeed.tech/topics/godot.md>), [callback](<https://devfeed.tech/topics/callback.md>), [function](<https://devfeed.tech/topics/function.md>), [Mathematics](<https://devfeed.tech/topics/mathematics.md>)

Tags: [callback](<https://devfeed.tech/tags/callback.md>), [fps](<https://devfeed.tech/tags/fps.md>), [game](<https://devfeed.tech/tags/game.md>), [game-development](<https://devfeed.tech/tags/game-development.md>), [games](<https://devfeed.tech/tags/games.md>), [math](<https://devfeed.tech/tags/math.md>), [physics](<https://devfeed.tech/tags/physics.md>), [prog](<https://devfeed.tech/tags/prog.md>)

### AI overview

This article explains why repeatedly applying linear interpolation for damping can make game behavior depend on the refresh rate. Using Godot examples, it analyzes the iterative formula and motivates a frame-rate-independent solution.

### Source excerpt

As I'm exploring the fantastic world of indie game development lately, I end up watching a large number of video tutorials on the subject. Even though the quality of the content is pretty variable, I'm very grateful to the creators for it. That being said, I couldn't help noticing this particular bit times and times again: a = lerp(a, B, delta * RATE) Behind this apparent banal call hides a terrible curse, forever perpetrated by innocent souls on the Internet. In this article we will study what it's trying to achieve, how it works, why it's wrong, and then we'll come up with a good solution to the initial problem. The usual warning: I don't have a mathematics or academic background, so the article is addressed at other neanderthals like myself, who managed to understand that pressing keys on a keyboard make pixels turn on and off. What is it? Let's start from the beginning. We're in a game engine main loop callback called at a regular interval (roughly), passing down the time difference from the last call. In Godot engine, it looks like this: func _physics_process(delta: float): ... If the game is configured to refresh at 60 FPS, we can expect this function to be called around 60 times per second with delta = 1/60 = 0.01666.... As a game developer, we want some smooth animations for all kind of transformations. For example, we may want the speed of the player to go down to zero as they release the moving key. We could do that linearly, but to make the stop less brutal and robotic we want to slow down the speed progressively. Linear (top) versus smooth/exponential (bottom) animation Virtually every tutorial will suggest updating some random variable with something like that: velocity = lerp(velocity, 0, delta * RATE) At 60 FPS, a decay RATE defined to 3.5, and an initial velocity of 100, the velocity will go down to 0 following this curve: Example curve of a decaying variable Note velocity is just a variable name example, it can be found in many other contexts If you

## Callback leaks: cancel your Picasso requests!

DevFeed: [Callback leaks: cancel your Picasso requests!](<https://devfeed.tech/articles/callback-leaks-cancel-your-picasso-requests-25620.md>)

Original publisher: [Read original article](<https://blog.p-y.wtf/callback-leaks-cancel-your-picasso-requests>)

Author: Pierre-Yves Ricau

Published: 2023-01-17T21:06:14Z

Content type: article

Language: en

Sources: [Py's blog](<https://devfeed.tech/sources/py-s-blog.md>)

Topics: [Picasso](<https://devfeed.tech/topics/picasso.md>), [leakcanary](<https://devfeed.tech/topics/leakcanary.md>), [callback](<https://devfeed.tech/topics/callback.md>)

Tags: [actions](<https://devfeed.tech/tags/actions.md>), [adapter](<https://devfeed.tech/tags/adapter.md>), [also](<https://devfeed.tech/tags/also.md>), [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [android-engineer](<https://devfeed.tech/tags/android-engineer.md>), [article](<https://devfeed.tech/tags/article.md>), [block](<https://devfeed.tech/tags/block.md>), [callback](<https://devfeed.tech/tags/callback.md>), [engineer](<https://devfeed.tech/tags/engineer.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [i](<https://devfeed.tech/tags/i.md>), [leak](<https://devfeed.tech/tags/leak.md>), [leakcanary](<https://devfeed.tech/tags/leakcanary.md>), [leaks](<https://devfeed.tech/tags/leaks.md>), [learn](<https://devfeed.tech/tags/learn.md>), [look](<https://devfeed.tech/tags/look.md>), [memory-leak](<https://devfeed.tech/tags/memory-leak.md>), [performance](<https://devfeed.tech/tags/performance.md>), [picasso](<https://devfeed.tech/tags/picasso.md>), [this](<https://devfeed.tech/tags/this.md>), [top](<https://devfeed.tech/tags/top.md>), [work](<https://devfeed.tech/tags/work.md>)

### AI overview

A Picasso request can keep a detached UI component from being garbage collected when its custom callback captures the component and the request remains in flight. Picasso's singleton holds weak references to target views but strong references to actions; the action and callback can therefore retain the detached view. Cancel requests when the UI goes away to prevent the leak and avoid continued resource use while loading. The excerpt also says Picasso automatically cancels a previous request when a new image is loaded into the same ImageView, which helps with recycled adapter views. It cuts off during that explanation, so it does not establish the full set of circumstances in which leaks are avoided.

### Source excerpt

👋 Hi, this is P.Y., I work as an Android Engineer at Block. Every month I organize an internal Ensemble Leak Hunting session where we look at the top leaks reported by LeakCanary to learn how to read

## Kotlin Coroutines use cases for Data/Adapters Layer

DevFeed: [Kotlin Coroutines use cases for Data/Adapters Layer](<https://devfeed.tech/articles/kotlin-coroutines-use-cases-for-data-adapters-layer-39243.md>)

Original publisher: [Read original article](<https://kt.academy/article/cc-use-cases-data-layer>)

Published: 2022-11-15T00:00:00Z

Content type: tutorial

Language: en

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

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Coroutines](<https://devfeed.tech/topics/coroutines.md>), [callback](<https://devfeed.tech/topics/callback.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [Database](<https://devfeed.tech/topics/database.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>), [Android](<https://devfeed.tech/topics/android.md>)

Tags: [blocking](<https://devfeed.tech/tags/blocking.md>), [callback](<https://devfeed.tech/tags/callback.md>), [coroutines](<https://devfeed.tech/tags/coroutines.md>), [databases](<https://devfeed.tech/tags/databases.md>), [functions](<https://devfeed.tech/tags/functions.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

This tutorial explains common Kotlin Coroutines use cases in the Data/Adapters Layer, including repository and provider implementations, adapting callback-based APIs into suspending functions, and handling blocking calls with an appropriate dispatcher.

### Source excerpt

How do we use Kotlin Coroutines in the Data/Adapters Layer, how do we use callback or blocking functions.

## OkLayoutInflater: Improving Android XML Layout Inflation with Parallel Coroutines

DevFeed: [OkLayoutInflater: Improving Android XML Layout Inflation with Parallel Coroutines](<https://devfeed.tech/articles/oklayoutinflater-37405.md>)

Original publisher: [Read original article](<https://medium.com/okcredit/oklayoutinflater-3c5cd93c6ebc?source=rss----40ea5327aac7---4>)

Author: Anjal Saneen

Published: 2022-10-26T01:27:02Z

Content type: tutorial

Language: en

Sources: [OkCredit](<https://devfeed.tech/sources/okcredit-medium.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [XML](<https://devfeed.tech/topics/xml.md>), [Code](<https://devfeed.tech/topics/code.md>), [Parsing](<https://devfeed.tech/topics/parsing.md>), [implementation](<https://devfeed.tech/topics/implementation.md>), [IO](<https://devfeed.tech/topics/io.md>), [callback](<https://devfeed.tech/topics/callback.md>), [interface](<https://devfeed.tech/topics/interface.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [androiddev](<https://devfeed.tech/tags/androiddev.md>), [anr](<https://devfeed.tech/tags/anr.md>), [coroutine](<https://devfeed.tech/tags/coroutine.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [file](<https://devfeed.tech/tags/file.md>), [io](<https://devfeed.tech/tags/io.md>), [main-thread](<https://devfeed.tech/tags/main-thread.md>), [memory](<https://devfeed.tech/tags/memory.md>), [mobile-app-development](<https://devfeed.tech/tags/mobile-app-development.md>), [parallelism](<https://devfeed.tech/tags/parallelism.md>), [parsing](<https://devfeed.tech/tags/parsing.md>), [performance](<https://devfeed.tech/tags/performance.md>)

### AI overview

This tutorial explains how OkLayoutInflater addresses limitations in AndroidX AsyncLayoutInflater. It describes the existing implementation's sequential background inflation and presents a coroutine-based approach intended to use parallelism based on CPU cores, helping recycler view items load and scroll faster.

### Source excerpt

The loading of large XML layouts is one of the major performance bottlenecks in android. Loading XML layout into memory through IO operations and parsing views through reflection can be expensive. This is especially true when the XML file is too large or when initializing the layout view takes a while. We know that when the main thread performs some time-consuming operations, it may cause the page to freeze, and even more, serious ANR may occur. Androidx AsyncLayoutInflater helps to load those layouts asynchronously. However, we found that it has some limitations. The goal of this blog post is to explain how OkLayoutInflater addresses these limitations. Source code analysis of AndroidX AsyncLayoutInflater https://android.googlesource.com/platform/frameworks/support/+/89f7eba/v4/java/android/support/v4/view/AsyncLayoutInflater.java Source code is short and easy to understand with only a few lines of code. In the inflate method, it creates an InflateRequest object and stores variables such as resid, parent, callback, etc. Then it calls enqueue to add the request to the InflateThread queue. The main purpose of InflateThread is to add requests to the blocking queue and perform BasicInflater.inflate operations in order. Regardless of inflating success or failure, the request message will be sent to the main thread for processing. The BasicInflater Inherited from LayoutInflater. In OnCreateView these prefixes are loaded on the layout. At last, mHandlerCallback implements handleMessage which executes the operation on main thread, and there is a fallback mechanism, that is when the child thread inflates fails. it will continue to inflate on the main thread, and finally, gives a callback to the main thread through the OnInflateFinishedListener interface. The limitations of AsyncLayoutInflater and how we improve it Single thread to do all the inflate work AsyncLayoutInflater has this major limitation. This was the main reason for creating a custom implementation. One of our r

## Refs, Events and Escape Hatches

DevFeed: [Refs, Events and Escape Hatches](<https://devfeed.tech/articles/refs-events-and-escape-hatches-48228.md>)

Original publisher: [Read original article](<https://tkdodo.eu/blog/refs-events-and-escape-hatches>)

Published: 2022-09-17T00: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>), [hooks](<https://devfeed.tech/topics/hooks.md>), [callback](<https://devfeed.tech/topics/callback.md>), [function](<https://devfeed.tech/topics/function.md>)

Tags: [callback](<https://devfeed.tech/tags/callback.md>), [component](<https://devfeed.tech/tags/component.md>), [hooks](<https://devfeed.tech/tags/hooks.md>), [refs](<https://devfeed.tech/tags/refs.md>), [render](<https://devfeed.tech/tags/render.md>)

### AI overview

This React article explains how refs provide stable containers for mutable values without triggering component re-renders. It presents refs as an escape hatch from React's one-way data flow and discusses using them to avoid dependency-array and function-memoization issues, including a debounced callback example.

### Source excerpt

Refs can provide a way to sidestep dependency arrays without violating any rules, and the proposed useEvent hook might make working with functions and effects a lot easier...

## Avoiding useEffect with callback refs

DevFeed: [Avoiding useEffect with callback refs](<https://devfeed.tech/articles/avoiding-useeffect-with-callback-refs-48178.md>)

Original publisher: [Read original article](<https://tkdodo.eu/blog/avoiding-use-effect-with-callback-refs>)

Published: 2022-08-14T00:00:00Z

Content type: tutorial

Language: en

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

Topics: [React](<https://devfeed.tech/topics/react.md>), [callback](<https://devfeed.tech/topics/callback.md>), [Document Object Model (DOM)](<https://devfeed.tech/topics/dom.md>)

Tags: [callback](<https://devfeed.tech/tags/callback.md>), [effect](<https://devfeed.tech/tags/effect.md>), [react](<https://devfeed.tech/tags/react.md>), [refs](<https://devfeed.tech/tags/refs.md>), [render](<https://devfeed.tech/tags/render.md>), [user-interaction](<https://devfeed.tech/tags/user-interaction.md>)

### AI overview

This tutorial explains why callback refs can be preferable to useEffect for actions that should occur when a DOM node is rendered, such as focusing an input. It describes how effects can run before a conditionally rendered node exists and therefore fail to focus it.

### Source excerpt

Interacting with DOM nodes doesn't necessarily need useEffect

## Kotlin Functional Interfaces: Function reference and SAM conversion

DevFeed: [Kotlin Functional Interfaces: Function reference and SAM conversion](<https://devfeed.tech/articles/kotlin-functional-interfaces-function-reference-and-sam-conversion-38640.md>)

Original publisher: [Read original article](<https://krossovochkin.com/posts/2020_10_17_kotlin_functional_interfaces_function_references_and_sam_conversion/>)

Published: 2020-10-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [Vasya Drobushkov](<https://devfeed.tech/sources/vasya-drobushkov.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [callback](<https://devfeed.tech/topics/callback.md>), [interface](<https://devfeed.tech/topics/interface.md>), [function](<https://devfeed.tech/topics/function.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [bytecode](<https://devfeed.tech/tags/bytecode.md>), [callback](<https://devfeed.tech/tags/callback.md>), [class](<https://devfeed.tech/tags/class.md>), [code](<https://devfeed.tech/tags/code.md>), [function](<https://devfeed.tech/tags/function.md>), [function-reference](<https://devfeed.tech/tags/function-reference.md>), [functional](<https://devfeed.tech/tags/functional.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [interop](<https://devfeed.tech/tags/interop.md>), [introduction](<https://devfeed.tech/tags/introduction.md>), [java](<https://devfeed.tech/tags/java.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>)

### AI overview

This tutorial examines Kotlin functional interfaces, function references, and SAM conversion in a callback scenario. It explains that Kotlin 1.4 supports SAM conversion for functional interfaces, allowing callback objects to be created from function references. Although separate callback objects are created for different method calls, they delegate to the same function reference and the program behaves correctly; explicit callback instances can avoid repeated allocations.

### Source excerpt

Introduction About two years ago I made a post about a tricky case in Kotlin-Java interop related to the usage of function references and SAM conversion. One of the points there was that in Kotlin, if interface is declared instead of a function, one has to explicitly create an object, therefore no caveats as with interop: val callback = object : ThirdParty.Callback { override fun onValueChanged(value: Int) { this@App.onValueChanged(value) } } With Kotlin 1.4 there is now a "Functional interface" which supports SAM conversion. And I've been asked on how it works in a similar situation. Let's find out.

## Function forms

DevFeed: [Function forms](<https://devfeed.tech/articles/function-forms-51768.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/function-forms>)

Published: 2020-04-05T00:00:00Z

Content type: article

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [function](<https://devfeed.tech/topics/function.md>), [React](<https://devfeed.tech/topics/react.md>), [callback](<https://devfeed.tech/topics/callback.md>), [debugging](<https://devfeed.tech/topics/debugging.md>)

Tags: [callback](<https://devfeed.tech/tags/callback.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [function](<https://devfeed.tech/tags/function.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [react](<https://devfeed.tech/tags/react.md>)

### AI overview

A discussion of when to use JavaScript function declarations, function expressions, arrow functions, and object methods, including considerations such as callbacks, hoisting, implicit returns, lexical scope, and debugging.

### Source excerpt

When I prefer to use function declarations instead of arrow functions

## Decoding Handler and Looper in Android

DevFeed: [Decoding Handler and Looper in Android](<https://devfeed.tech/articles/decoding-handler-and-looper-in-android-38621.md>)

Original publisher: [Read original article](<https://krossovochkin.com/posts/2019_12_24_decoding_handler_and_looper_in_android/>)

Published: 2019-12-24T00:00:00Z

Content type: tutorial

Language: en

Sources: [Vasya Drobushkov](<https://devfeed.tech/sources/vasya-drobushkov.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [class](<https://devfeed.tech/topics/class.md>), [callback](<https://devfeed.tech/topics/callback.md>), [interface](<https://devfeed.tech/topics/interface.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [abstraction](<https://devfeed.tech/tags/abstraction.md>), [android](<https://devfeed.tech/tags/android.md>), [callback](<https://devfeed.tech/tags/callback.md>), [class](<https://devfeed.tech/tags/class.md>), [code](<https://devfeed.tech/tags/code.md>), [interface](<https://devfeed.tech/tags/interface.md>), [object](<https://devfeed.tech/tags/object.md>), [parcelable](<https://devfeed.tech/tags/parcelable.md>), [payload](<https://devfeed.tech/tags/payload.md>), [thread](<https://devfeed.tech/tags/thread.md>)

### AI overview

This tutorial explains Android's Handler and Looper, describing Looper as an event-loop abstraction that drains a MessageQueue and Handler as an abstraction for posting, removing, and handling queued events. It also covers their relationships and the structure of Message objects.

### Source excerpt

Introduction Handler and Looper are one of the main low-level Android OS things, which almost nobody uses directly (at least nowadays). But they are at the core, so many other high-level solutions are based on them. Therefore one should know what Handler and Looper are, what and how they are doing. In this article we'll try to understand Handler and Looper in Android. What, how and why we might need them. We'll start from some basic knowledge on classes and what they are doing, continue with relations between them. Then we'll look at each class separately trying to dive deep into details. And will finish with some canonical examples on where they can be used.

## Suspending over Views

DevFeed: [Suspending over Views](<https://devfeed.tech/articles/suspending-over-views-24927.md>)

Original publisher: [Read original article](<https://medium.com/androiddevelopers/suspending-over-views-19de9ebd7020?source=rss-9303277cb6db------2>)

Author: Chris Banes

Published: 2019-12-02T07:53:44Z

Content type: article

Language: en

Sources: [Chris Banes on Medium](<https://devfeed.tech/sources/chris-banes-on-medium.md>)

Topics: [Coroutines](<https://devfeed.tech/topics/coroutines.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [callback](<https://devfeed.tech/topics/callback.md>), [Jetpack](<https://devfeed.tech/topics/jetpack.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [apis](<https://devfeed.tech/tags/apis.md>), [asynchronous](<https://devfeed.tech/tags/asynchronous.md>), [callback](<https://devfeed.tech/tags/callback.md>), [extension](<https://devfeed.tech/tags/extension.md>), [jetpack](<https://devfeed.tech/tags/jetpack.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [ui](<https://devfeed.tech/tags/ui.md>), [view](<https://devfeed.tech/tags/view.md>)

### AI overview

The excerpt argues that Kotlin coroutines can simplify Android UI work by representing same-thread asynchronous events in sequential, non-blocking code. Android's view system relies heavily on callbacks for events such as animator completion, scrolling, layout, and drawing; Jetpack KTX helpers like View.doOnPreDraw() make these APIs easier to use but still leave developers working with callbacks. The article introduces suspending functions and suspendCancellableCoroutine as coroutine tools for this problem, noting that UI code must not block the main thread. The excerpt ends before the implementation details or full examples.

### Source excerpt

Illustration by Virginia PoltrackSuspending over viewsHow coroutines can make UI programming easier Kotlin Coroutines allow us to model asynchronous problems like synchronous code. That's great, but most usage seems to concentrate on I/O tasks and concurrent operations. Coroutines are great at modelling problems which work across threads, but can also model asynchronous problems on the same thread. There's one place which I think really benefits from this, and that's working with the Android view system. Android views 💘 callbacks The Android view system loves callbacks; like really loves callbacks. To give you an idea, there are currently 80+ callbacks in view and widgets classes in the Android framework, and then another 200+ in Jetpack (includes non-UI libraries, but you get the idea). Commonly used examples include: AnimatorListener to know when an animator finishes. RecyclerView.OnScrollListener to know when the scroll state changes. View.OnLayoutChangeListener to know when a view is laid out. Then there are the APIs which accept a Runnable to perform an async action, such as View.post() or View.postDelayed(), etc. There are so many callbacks because user interface programming on Android is inherently asynchronous. Everything from measure & layout, drawing, to inset dispatch are all performed asynchronously. Generally, something (usually a view) requests a traversal from the system, and then some time later the system dispatches the call, which then triggers any listeners. KTX extension functions For a lot of the APIs we've mentioned above, the team has added extension functions in Jetpack to improve the developer ergonomics. One of my favorites is View.doOnPreDraw(), which greatly simplifies waiting for the next draw to happen. There are many others which I use every day: View.doOnLayout() and Animator.doOnEnd() to name two. But these extension functions only go so far: they make a old-school callback API into a Kotlin-friendly lambda-based API. They're nicer t

## Kotlin-Java interop: function references and SAM conversions

DevFeed: [Kotlin-Java interop: function references and SAM conversions](<https://devfeed.tech/articles/kotlin-java-interop-function-references-and-sam-conversions-38608.md>)

Original publisher: [Read original article](<https://krossovochkin.com/posts/2018_09_13_kotlin_java_interop_function_references_and_sam_conversions/>)

Published: 2018-09-13T00:00:00Z

Content type: tutorial

Language: en

Sources: [Vasya Drobushkov](<https://devfeed.tech/sources/vasya-drobushkov.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Java](<https://devfeed.tech/topics/java.md>), [callback](<https://devfeed.tech/topics/callback.md>), [interface](<https://devfeed.tech/topics/interface.md>)

Tags: [callback](<https://devfeed.tech/tags/callback.md>), [function](<https://devfeed.tech/tags/function.md>), [interop](<https://devfeed.tech/tags/interop.md>), [java](<https://devfeed.tech/tags/java.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [lambda](<https://devfeed.tech/tags/lambda.md>)

### AI overview

This technical article explains a Kotlin-Java interoperability issue involving Kotlin function references and Java single-abstract-method (SAM) conversions. When the same function reference is passed to Java registration and removal methods, the generated callback instances can differ, so the callback may not be removed as expected.

### Source excerpt

Though all the things below are pretty obvious if being careful while dealing with Kotlin-Java interop, I decided still to write short note about one particular issue with function references (from Kotlin side) and SAM conversions (from Java side). Function reference Function reference is a good way to pass function as a parameter without explicitly using lambdas. For example, if we have function: fun method(callback: (Input) -> Output) { ... } then we can pass our function as a lambda with function call or as a function reference:

## Javascript's async/await and Promise in a few words

DevFeed: [Javascript's async/await and Promise in a few words](<https://devfeed.tech/articles/javascript-s-async-await-and-promise-in-a-few-words-35422.md>)

Original publisher: [Read original article](<https://darkcoding.net/software/javascripts-async-await-and-promise-in-a-few-words/>)

Author: Graham King

Published: 2018-07-27T14:30:45Z

Content type: tutorial

Language: en

Sources: [Graham King](<https://devfeed.tech/sources/graham-king.md>)

Topics: [async/await](<https://devfeed.tech/topics/async-await.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Promise](<https://devfeed.tech/topics/promise.md>), [callback](<https://devfeed.tech/topics/callback.md>), [Exception](<https://devfeed.tech/topics/exception.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [async](<https://devfeed.tech/tags/async.md>), [await](<https://devfeed.tech/tags/await.md>), [callback](<https://devfeed.tech/tags/callback.md>), [exception](<https://devfeed.tech/tags/exception.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [software](<https://devfeed.tech/tags/software.md>)

### AI overview

This tutorial explains how JavaScript uses Promises and async/await to handle operations that could otherwise block its single thread. It shows how async/await makes callback-based asynchronous code appear more linear while failures are handled through exceptions.

### Source excerpt

Unraveling the magic of async/await: From callbacks to linear code.

## How to give rendering control to users with prop getters

DevFeed: [How to give rendering control to users with prop getters](<https://devfeed.tech/articles/how-to-give-rendering-control-to-users-with-prop-getters-51791.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/how-to-give-rendering-control-to-users-with-prop-getters>)

Published: 2017-10-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [React](<https://devfeed.tech/topics/react.md>), [render](<https://devfeed.tech/topics/render.md>), [callback](<https://devfeed.tech/topics/callback.md>), [function](<https://devfeed.tech/topics/function.md>), [Library](<https://devfeed.tech/topics/library.md>)

Tags: [callback](<https://devfeed.tech/tags/callback.md>), [components](<https://devfeed.tech/tags/components.md>), [function](<https://devfeed.tech/tags/function.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [react](<https://devfeed.tech/tags/react.md>), [rendering](<https://devfeed.tech/tags/rendering.md>)

### AI overview

A tutorial explaining prop getters, a pattern used with render props to give users of React components control over rendering while the component handles generic logic.

### Source excerpt

Render props are awesome, put it together with prop getters and you have an awesome combination to give users of your React components...

## Introducing downshift 🏎 for React ⚛

DevFeed: [Introducing downshift 🏎 for React ⚛](<https://devfeed.tech/articles/introducing-downshift-for-react-51812.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/introducing-downshift-for-react>)

Published: 2017-08-23T00:00:00Z

Content type: release

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [React](<https://devfeed.tech/topics/react.md>), [autocomplete](<https://devfeed.tech/topics/autocomplete.md>), [render](<https://devfeed.tech/topics/render.md>), [callback](<https://devfeed.tech/topics/callback.md>), [API](<https://devfeed.tech/topics/api.md>), [implementation](<https://devfeed.tech/topics/implementation.md>)

Tags: [accessible](<https://devfeed.tech/tags/accessible.md>), [api](<https://devfeed.tech/tags/api.md>), [autocomplete](<https://devfeed.tech/tags/autocomplete.md>), [callback](<https://devfeed.tech/tags/callback.md>), [flexibility](<https://devfeed.tech/tags/flexibility.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [react](<https://devfeed.tech/tags/react.md>), [render](<https://devfeed.tech/tags/render.md>), [rendering](<https://devfeed.tech/tags/rendering.md>), [wai](<https://devfeed.tech/tags/wai.md>)

### AI overview

An introduction to downshift, a React primitive for building accessible autocomplete, typeahead, dropdown, select, and combobox components. It explains downshift's render prop and controlled props patterns, which give developers control over rendering while simplifying the API and implementation.

### Source excerpt

downshift 🏎 is the primitive you need to build simple, flexible, WAI-ARIA compliant React...

## Building a Real-Time Chat with GraphQL Subscriptions and Apollo

DevFeed: [Building a Real-Time Chat with GraphQL Subscriptions and Apollo](<https://devfeed.tech/articles/building-a-real-time-chat-with-graphql-subscriptions-and-apollo-47646.md>)

Original publisher: [Read original article](<https://www.prisma.io/blog/how-to-build-a-real-time-chat-with-graphql-subscriptions-and-apollo-d4004369b0d4>)

Author: Nikolas Burk

Published: 2017-03-17T00:00:00Z

Content type: tutorial

Language: en

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

Topics: [GraphQL](<https://devfeed.tech/topics/graphql.md>), [real-time](<https://devfeed.tech/topics/real-time.md>), [App](<https://devfeed.tech/topics/app.md>), [client](<https://devfeed.tech/topics/client.md>), [callback](<https://devfeed.tech/topics/callback.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Code](<https://devfeed.tech/topics/code.md>), [Database](<https://devfeed.tech/topics/database.md>), [React](<https://devfeed.tech/topics/react.md>)

Tags: [apollo](<https://devfeed.tech/tags/apollo.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [mutation](<https://devfeed.tech/tags/mutation.md>), [react](<https://devfeed.tech/tags/react.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [sockets](<https://devfeed.tech/tags/sockets.md>), [subscriptions](<https://devfeed.tech/tags/subscriptions.md>)

### AI overview

A tutorial on building a real-time chat application with GraphQL subscriptions, Apollo, and live participant locations displayed on a shared map.

### Source excerpt

Build a real-time chat app with GraphQL subscriptions, Apollo, and live location updates on a shared map.

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