Back to Daily Feed 
SolidJS 2.0 RC.9: Core Reactivity Updates & Optimistic Writes
Worth Reading
Originally published on SolidJS Releases
View Original Article
Share this article:
Summary & Key Takeaways
- Defines when a write becomes visible at flush, ensuring consistent behavior across channels.
- Clarifies that
setOptimistic(v)becomes the active override at the carrying flush. - Rewrites a node held by a transaction to keep the staged value for
latest()until the next flush. - Corrects documentation for
until()within actions, requiring ayieldafterawaitbefore creating readers. - Ensures an async memo's held landing retains the committed frame's dependencies.
Our Commentary
Reactivity is the heart of SolidJS, so any changes here are worth noting. The clarification around optimistic writes and async memos feels like a necessary step towards a more predictable and robust system. I'm glad they're tightening up these core behaviors, even if it means a few doc corrections. It makes the mental model more solid.
View Original Article
Share this article: