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: Faster Props with Lazy Merge & Omit Views

Worth Reading

Originally published on SolidJS Releases

View Original Article
Share this article:
SolidJS 2.0 RC.9: Faster Props with Lazy Merge & Omit Views

Summary & Key Takeaways ​

  • merge() and omit() 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, and merge() over omit() 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:
RSS Atom JSON Feed
© 2026 digestweb.dev — brought to you by  FRSOURCE