digestweb.dev
Propose a News Source
Support usSponsor
🤝
Curated byFRSOURCE

digestweb.dev

Your essential dose of webdev and AI news, handpicked.

Advertisement

Want to reach web developers daily?

Advertise with us ↗

Back to Daily Feed

SolidJS 2.0 RC.9: Async Store Setter Diagnostic & Client Error Hook

Must Read

Originally published on SolidJS Releases

View Original Article
Share this article:
SolidJS 2.0 RC.9: Async Store Setter Diagnostic & Client Error Hook

Summary & Key Takeaways ​

  • Adds a new dev diagnostic, ASYNC_STORE_SETTER, which throws when a store setter callback returns a Promise.
  • This prevents silent data loss as store setters are synchronous transactions.
  • Introduces configureClientErrors({ onError }) as a client error hook for solid-js and render/hydrate.
  • The client error hook provides a production-tier seam to catch component failures not handled by createErrorBoundary.
  • Uncaught errors still report to the platform's reportError, ensuring existing monitors still function.

Our Commentary ​

This is a big one for SolidJS 2.0. That ASYNC_STORE_SETTER diagnostic is a lifesaver; I've definitely seen developers (myself included) make that mistake, and having it throw in dev is just good. The client error hook is also a huge step forward for building truly resilient applications. It feels like SolidJS is really maturing its error story, which is something I always look for in a framework.

View Original Article
Share this article:
RSS Atom JSON Feed
© 2026 digestweb.dev — brought to you by  FRSOURCE