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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Fastn, a JavaScript tool for building user interfaces

47 点作者 korynunn将近 10 年前

7 条评论

keedot将近 10 年前
I never like to criticize when someone creates something new. But decades of professional experience (having seen this concept come and go repeatedly over the years), taught me that HTML is your friend. I inherited a project that uses this concept, and there is no maintenance. Not because it&#x27;s stable, but because it&#x27;s more delicate than a faberge egg, so we never ever ever touch it.<p>I&#x27;m sure for some small projects with very infrequent layout changes, this could be nice to work with. But for any app of sufficient complexity, keep your markup out of your code be it through DOM construction or in string HTML. (React being the one implementation that MAY prove to be the exception to prove the rule, though it&#x27;s too early to tell at this point).
评论 #9815874 未加载
评论 #9817031 未加载
kowdermeister将近 10 年前
&quot;Nothin to see here! Check out index.js&quot;<p>Bad sign for me. There&#x27;s many valid reasons to have a markup available for we applications. Embedding layout this deep into code is just messy for me. The best acceptable way (for me) so far is React.
评论 #9814299 未加载
korynunn将近 10 年前
Huh.. Github seems to be stripping newlines from the .js sources :&#x2F;.. It&#x27;s 1am here, I&#x27;ll fix that tomorrow.
mc_hammer将近 10 年前
i like this. data binding without some html hybrid. animations... nice test app. you did a lot right.<p>ill try this out :)
评论 #9813895 未加载
finnn将近 10 年前
Mixed Content: The page at &#x27;<a href="https:&#x2F;&#x2F;korynunn.github.io&#x2F;fastn&#x2F;&#x27;" rel="nofollow">https:&#x2F;&#x2F;korynunn.github.io&#x2F;fastn&#x2F;&#x27;</a> was loaded over HTTPS, but requested an insecure stylesheet &#x27;<a href="http:&#x2F;&#x2F;fonts.googleapis.com&#x2F;css?family=Roboto:400,300,100&#x27;" rel="nofollow">http:&#x2F;&#x2F;fonts.googleapis.com&#x2F;css?family=Roboto:400,300,100&#x27;</a>. This request has been blocked; the content must be served over HTTPS.<p>Can we stopped with the mixed content and go full HTTPS already?
评论 #9814279 未加载
评论 #9813667 未加载
评论 #9815911 未加载
yellowapple将近 10 年前
This might be classified as a &quot;nailgun&quot; rather than a &quot;framework&quot; if the only thing I&#x27;m nailing is paper to cardboard. The whole &quot;Nothin to see here! Check out index.js&quot; indicates to me that this is the precise opposite of a solution to the problem of more and more sites relying exclusively on piles and piles of Javascript with zero regard for accessibility, privacy (by making the site useless for those who disable Javascript to that effect), performance, etc.
评论 #9814363 未加载
评论 #9815955 未加载
评论 #9814474 未加载
fiatjaf将近 10 年前
This seems like a pain to write, and even harder to read.<p>What are the advantages in comparison to virtual DOM based frameworks out there?