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.

RSJS: Reasonable System for JavaScript Structure

2 pointsby flexterraabout 2 years ago

1 comment

rektideabout 2 years ago
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.