releases.shpreview

2.10.0

Sanity React App SDK v2.10.0: Automatic chunk-load recovery and login error fixes

$npx @buildinternet/releases get rel_5IIiJnY5CN9830gvEN0N6

This release improves reliability with automatic recovery from chunk-load errors, along with two fixes to login error handling in standalone apps.

Automatic reload on chunk-load errors

The app now reloads automatically when a JavaScript chunk fails to load. This commonly happens after a new deploy invalidates cached assets, and previously left users on a broken screen until they refreshed manually. No code changes are required to opt in.

Notable bugfixes and improvements

  • LoginError now stays synchronous in standalone apps, so error handling runs in the same tick as the failure.
  • The LoginError auto-logout flow guards against re-entry, preventing duplicate logout attempts when an error fires mid-logout.

Fetched May 1, 2026