Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Looks like it's pretty much just a way to use stitches' typed variant system with CSS modules instead of CSS in JSX. So variants are typed without you manually adding `variant`, `color` etc. boilerplate props any time you want a variation. If it's typed you don't have to dig through CSS files or deal with poor IDE support for CSS module classname resolution, and can instead use the excellent TS support.

As for it maybe being "deprecated" someday... I don't that's a fair criticism, since any library with a small user base is at risk. This one doesn't have much that can rot, it's not like they are doing transpilations, it's just a thin wrapper over React and CSS modules.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: