Back to Daily Feed 
SolidJS 2.0 RC.17: Live Server Functions, Rich Arguments, and Streaming
Must Read
Originally published on SolidJS Releases
View Original Article
Share this article:
Summary & Key Takeaways
- Experimental
broadcast(fn)enables live server functions that share a single render across multiple viewers. live(fn)now implicitly uses GET requests, optimizing client-side bundles.- Server functions can now accept files and blobs as arguments using
enableRichArguments(). renderToStreamnow reports serialization failures through the server error hook.- Live server component slot records are now committed in a single write, preventing inconsistent states.
Our Commentary
This is a meaty RC. The broadcast(fn) feature for live server functions sounds genuinely innovative; I'm trying to wrap my head around the implications for real-time data. It feels like a powerful abstraction for shared state. And rich arguments for server functions? That's a huge quality-of-life improvement. We've all wrestled with file uploads. This is a solid step towards Solid 2.0.
View Original Article
Share this article: