Back to Daily Feed 
SolidJS 2.0 RC.5 Fixes Hydration, Enhances Signals
Must Read
Originally published on SolidJS Releases
View Original Article
Share this article:
Summary & Key Takeaways
- A critical hydration desync bug affecting
<For>components followed by siblings has been fixed. - The
refresh(target)function now returns a promise for the target's quiescent state, allowing async operations to await reactivity settlement. - This promise-based refresh improves control over async data flows within Solid's reactivity system.
updateIfNecessarynow correctly handles disposed nodes, preventing certain runtime errors.
Our Commentary
The <For> hydration fix is a big one; desyncs are notoriously hard to debug and can lead to subtle, frustrating bugs. Combining that with the new promise-based refresh for signals makes this a really solid RC. It feels like Solid is tightening up its core, making it even more robust for complex applications. We're seeing a lot of maturity in these RC releases.
View Original Article
Share this article: