Skip to main content
← Blog
The numbers 170 and 171 stacked in cyan, lime, yellow, and coral with black shadows on a light gray background.

Foldkit 0.171.0

November 17, 2026 · Devin Jameson

Foldkit 0.171.0 fixes delayed renders, DevTools crashes, and Dialogs that block the crash screen. It also releases unused view cache entries. This post also covers 0.170.0, which upgraded Foldkit and its companion packages to Effect 4.1.

Rendering and Dialog fixes

Animation-frame Subscription updates can now render before the current frame paints instead of waiting another frame. The page can also now redraw during sustained Message traffic instead of waiting indefinitely for a quiet moment. That redraw can skip a View Transition so waiting input changes appear on screen.

An app that crashes with a modal Dialog open now removes the Dialog's restrictions on input and scrolling before showing the crash view. The crash screen can receive input and scroll. Dialogs in other embedded apps stay open.

While a Dialog is open, Foldkit now preserves changes that browser extensions or other page scripts make to inert and aria-hidden. This prevents two scripts from repeatedly overwriting each other's changes and freezing the page.

Thank you to @armancharan for the animation-frame fix, @artile for the rendering fix, and @rjdellecese for the fix that keeps the crash screen usable!

Thank you to @jem-computer, @qdhenry, and @davidr-cy for reporting the animation, rendering, and Dialog issues!

View caches and Subscriptions

By default, createKeyedLazy() now releases a cached view when its key is absent from a completed render. Apps that switch between a fixed set of views can opt into keeping them for reuse. The view memoization guide explains the policy.

Foldkit now checks all Subscription dependencies in one pass and wakes only the Subscriptions whose dependencies changed. When several entries read a child Model through Subscription.lift, that read now runs once for each parent Model object.

Thank you to @armancharan for the cache fix, @ivebenfreed for reporting the retained rows, and @Makisuo for the Subscription improvements!

Inspecting Chunk and BigDecimal values

DevTools now shows Chunk values as lists and BigDecimal values as decimal strings. Inspecting these values, or recording a Model change that contains them, no longer overflows the stack. Circular references display as [Circular].

Thank you to @wmaurer for reporting and fixing the Chunk failure, and @V1RE for reporting the BigDecimal failure!

Result Messages and app shutdown

Commands and Mounts must now declare a non-empty list of result Message Schemas. TypeScript rejects Schema.Never declarations. When work completes without changing the Model, return a descriptive Completed* Message and handle it like any other fact.

For embedded apps, the new disposeAsync() method lets the host wait for the app to stop before reusing its container. It waits for Subscription, ManagedResource, and Command cleanup, including asynchronous work. Mount cleanup can finish after the Promise resolves.

Thank you to @raulescobar-g for raising the Mount testing issue and @austeane for disposeAsync()!

Effect 4.1

0.170.0 upgraded Foldkit and its companion packages to Effect 4.1. Their dependency ranges now allow 4.1 patch releases. Update effect and the @effect/* packages in your app together. The Node adapter, Vite plugin, and DevTools MCP server require Node.js 22.19 or newer. The release notes cover the crypto API changes and canceling Mount setup that is waiting on asynchronous work.

Thank you to @Makisuo for the Effect compatibility report and @phibkro for the upgrade proposal!

Thank you also to @filipfalcon for packaging the Foldkit app skills for Cursor and Grok Bot!

See the 0.171.0 notes, 0.170.0 notes, and companion package releases for all changes and migration details.

Thanks to everyone building with Foldkit!

Devin