Back to Daily Feed 
SolidJS 2.0 RC.9: Faster Props with Lazy Merge & Omit Views
Worth Reading
Originally published on SolidJS Releases
View Original Article
Share this article:
Summary & Key Takeaways
merge()andomit()now consistently return lazy views, even for plain objects.- This avoids eager copying, leading to O(1) views over flattened sources.
- Nested
omit()operations fold their filters, andmerge()overomit()handles views efficiently. - Construction cost for prop chains drops significantly (3–7x), improving SSR performance by ~2.4x.
- Reads remain cheap, resolving keys once on first access and performing single lookups thereafter.
Our Commentary
This is a fantastic performance win, especially for those of us building or using headless UI libraries. The idea that a complex chain of merge and omit operations can collapse to leaf views over original objects, with no proxy layer in between, is just chef's kiss. It's the kind of optimization that makes SolidJS feel even faster without changing how we write code.
View Original Article
Share this article: