TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

4 点作者 plugnburn大约 9 年前

2 条评论

maxpert大约 9 年前
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 未加载
plugnburn大约 9 年前
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 未加载