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.

Show HN: XT.js – a DOM construction/templating nano-library, 323 bytes minified

4 pointsby plugnburnabout 9 years ago

2 comments

maxpertabout 9 years ago
Ahh close I once made a complete template library under 325 bytes :D<p><a href="https:&#x2F;&#x2F;gist.github.com&#x2F;maxpert&#x2F;989159" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;maxpert&#x2F;989159</a>
评论 #11273925 未加载
plugnburnabout 9 years ago
Some explanations:<p>1. Yes, I&#x27;m aware of Microjungle but still don&#x27;t get why does it weigh twice bigger and above. 323 bytes of XT.js is NOT gzipped size.<p>2. This library is VERY strict to the syntax. Any mistake - flow ruined.<p>3. You know how to deal with DocumentFragments, right?<p>4. No serverside planned, sorry.<p>5. Yes, it&#x27;s already used in production.
评论 #11269266 未加载