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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

RSJS: Reasonable System for JavaScript Structure

2 点作者 flexterra大约 2 年前

1 comment

rektide大约 2 年前
Neat attempt here.<p>I like a lot that they say &quot;Use data attributes [not classes]&quot;, then the next rule is what to do if you don&#x27;t agree, &quot;if you do don&#x27;t like attributes &amp; prefer classes;&quot; &quot;Don&#x27;t overload classes&quot;. Keep style classes &amp; regular classes separate. Nice comprehensive thinking, &amp; good advice either way.<p>Using meta tags for bootstrap is also a cool idea to stay declarative that I&#x27;d never considered before.