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

True, I didn't mean to omit other solutions, I thought styled-components were deprecated after React 18.


Yeah it was/is (doesn't work with server components). That's the reason we built next-yak (https://yak.js.org) as an alternative.


Thanks for your work on Yak. When I was evaluating the alternatives to styled-components, I went with Linaria over next-yak because it is zero runtime. Any plans for Yak to support this as well?


Yeah they are not supporting server components. That's why I said I used Linaria which is a drop-in replacement. Exact same API so any team can simply run a codemod tool to change the import rule from styled-components to linaria




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

Search: