HackerTrans
热门最新趋势评论往期问答秀出招聘

ess3

no profile record

评论

ess3
·3年前·讨论
Indeed. It’s really a bummer that “frontend engineer” has more become synonymous with “react engineer”.
ess3
·3年前·讨论
I’m still looking for a lightweight solution (no react etc) that lets me write normal CSS but scoping it to an arbitrary part of my HTML tree. Most of the time I’ll be working in a partial where I know what generic names such as .container refers to And I don’t want to bother with coming up with unique names.

The best I can think of is to use descendant selectors but that increases the specificity and is hard to maintain imo.

Excited to see what the @scope feature draft can bring to this