Skip to content

RSJS: Reasonable System for JavaScript Structure

ricostacruz.com
2 pointsflexterra1 comment
On HN

Comments

Neat attempt here.

I like a lot that they say "Use data attributes [not classes]", then the next rule is what to do if you don't agree, "if you do don't like attributes & prefer classes;" "Don't overload classes". Keep style classes & regular classes separate. Nice comprehensive thinking, & good advice either way.

Using meta tags for bootstrap is also a cool idea to stay declarative that I'd never considered before.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.