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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Real-Time Web Apps with Zero Lines of JavaScript

33 点作者 adamstep超过 5 年前

6 条评论

whereareyouwow超过 5 年前
Wow Adam! I owe you a drink! I have been looking for something like intercooler + sse &#x2F; mercure. What a great example of NoJS!<p>I thought I was stuck with just amp (<a href="https:&#x2F;&#x2F;amp.dev" rel="nofollow">https:&#x2F;&#x2F;amp.dev</a>) as an option. Please ignore the nitpickers saying it is technically not zero lines of js.<p>If the app can be developed without writing js, it can be considered nojs. The list here (<a href="http:&#x2F;&#x2F;markapp.io" rel="nofollow">http:&#x2F;&#x2F;markapp.io</a>) is based on that principle.<p>Please please keep on chronicling your adventures. So many questions but I will take the weekend to explore properly.
评论 #21195985 未加载
DoctorPenguin超过 5 年前
So you use JavaScript libraries to avoid writing JavaScript to use a JavaScript browser API?
评论 #21195875 未加载
评论 #21193996 未加载
james_s_tayler超过 5 年前
I think this kind of approach is really underrated. I remember from playing around with Rails that you can do very similar things quite easily.<p>It&#x27;s not a popular approach at the moment, but I do feel like there is validity to it.<p>Kudos for taking the road less travelled.
zaro超过 5 年前
So this is being done just for the sake of not writing JS?<p>I don&#x27;t see how this will be in any way better or more maintanalbe. Also it means writing more Django&#x2F;Jinja templates.
评论 #21194041 未加载
评论 #21195827 未加载
Porthos9K超过 5 年前
Less JS is always better, but if you&#x27;re using Intercooler.js, are you really creating an app with &quot;zero lines of JS&quot;?
评论 #21186243 未加载
vearwhershuh超过 5 年前
Very cool Adam.<p>You are officially the worlds expert on using server sent events in intercooler. ;)
评论 #21186476 未加载