TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Morphdom – fast and lightweight DOM diffing/patching (without the virtual part)

60 pointsby psteeleidemalmost 10 years ago

5 comments

exploriginalmost 10 years ago
I&#x27;d take it with a grain of salt.<p><pre><code> - Benchmarks are only for Safari and without good documentation for how they were performed. Measurements are only in the 100ths of seconds where these measurements should have much more granularity. - The TodoMVC (arguably the most real-world) benchmark is nearly 50% slower than virtual-DOM. - virtual-DOM is fairly mature at this point where as MorphDOM looks very young. - virtual DOM implementations allow you to do things like React Native</code></pre>
评论 #10075819 未加载
评论 #10075751 未加载
gobengoalmost 10 years ago
This sounds very similar to <a href="http:&#x2F;&#x2F;google.github.io&#x2F;incremental-dom&#x2F;#about" rel="nofollow">http:&#x2F;&#x2F;google.github.io&#x2F;incremental-dom&#x2F;#about</a> (esp skipping the virtual part).<p>Can anyone point out any notable differences?
评论 #10076755 未加载
tracker1almost 10 years ago
The virtual dom solutions can run outside, without a <i>full</i> DOM implementation, which are very slow and resource intensive on a server. Which is needed for client+server-side rendering options.
评论 #10079862 未加载
pagsalmost 10 years ago
Currently using virtual-dom to power my front-end system, but have been waiting for something like this. Can&#x27;t wait to see how it works in comparison.
saurikalmost 10 years ago
<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10063565" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10063565</a>
评论 #10075834 未加载