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.

Rolling a virtual DOM

43 pointsby codr4lifeabout 8 years ago

3 comments

bastawhizabout 8 years ago
This isn't really a "virtual DOM" in any way, though. It only generates strings, which defeats the whole purpose of keeping a separate DOM around.
评论 #13742387 未加载
shortsightedsidabout 8 years ago
It would be more interesting if the code was tied with parenscript instead of generating the raw HTML directly. That way you could generate the Javascript needed to manipulate the real DOM. Otherwise, this isn't a virtual DOM, it's only a minimal template engine.
评论 #13742403 未加载
codr4lifeabout 8 years ago
Keep on downvoting, friends; as long as it makes you feel better :)<p>Look, I&#x27;m sorry if I stepped on any ego toes; but I truly think most of the current practice is a mess of bad ideas and duct tape, and I have plenty of experience to back that up. Disagreeing is one thing, shooting messengers at any cost is counter-productive. I&#x27;m sharing ideas, you&#x27;re arguing definitions.
评论 #13743194 未加载
评论 #13742983 未加载
评论 #13743128 未加载