🔥 Styled-components lost to Tailwind on perf — but what if you didn’t have to choose? @Mad__Kat breaks down how next-yak brings compile-time speed to a familiar CSS-in-JS API.
See it live — reactadvanced.com
Finally, after adding turbopack support, next-yak also supports vite (for rolldown and rollup). Additionally we published a new storybook addon (compatible with webpack & vite).
Read up upon here: yak.js.org/docs/vite & yak.js.org/docs/storybook
We've merged and released an initial turbopack support for next-yak 🎉🎉
All features work out of the box aside from imports in .yak.ts files.
It also tackles long standing issues and should work generally better than the webpack version.
We found a way to run our custom SWC plugin on the client in WASM 🎉
If you want to see how next-yak transpiles your input to static CSS have a look here: yak.js.org/playground
I'm migrating all my personal and client projects to next-yak as I'm too deep in the styled-components style. I really like that style and I have built many powerful things will it for yrs. It truly scales and is easier to read and maintain.