Skip to main content

Activity for luca.schneider.is

Active on:

Loading activity...

I would love to have something like this for all major bundlers (rolldown, rollup, webpack, rspack and turbopack)

@nicr.dev avatarNicolò Ribaudo@nicr.dev

I was debugging some chunking regressions in an app I work on when updating from Vite 7 to Vite 8. I got an AI to generate a tool to help figuring out what was wrong, and I uploaded it at nicolo-ribaudo.github.io/vite-compare/ in case it's useful for anybody else.

Bluesky network1mo ago

Really nice spin on the RSC concept with client-first. This way the mental model of developers can still be useful, even in the RSC era. I see why others didn't do that, as composition is a bit harder and doesn't feel as natural compared to the server-first approach. I'm looking forward to try it.

@tannerlinsley.com avatarTanner Linsley@tannerlinsley.com

Finally, TanStack Start now supports React Server Components! Start's RSCs are a truly fetchable, cacheable and composable primitive that work with your favorite tools instead of dictating your entire architecture. Oh, and one more thing... "Composite Components" 😉 tanstack.com/blog/react-s...

Bluesky network2mo ago

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

A cute yak riding on a rusty rocket towards the vite logo. This should symbolize that next-yak now supports vite
Bluesky network5mo ago

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.

Bluesky network7mo ago

If you don't see this, you're limiting the experience of your users.

@codey.bsky.social avatarCody@codey.bsky.social

Understandable. In the end what matters is that a static CSS file served with a hashed filename and `Cache-Control: Immutable` is served to end users, with the only remaining runtime logic being what `className` attributes to use to decide styling, and the occasional custom property override 💖

Bluesky network9mo ago

@whiteshoulders.bsky.social contributed a very good PR to next-yak. It marks the beginning of our efforts to support more bundlers than just webpack in next.js. Thank you for the contribution: github.com/DigitecGalax...

Make the cross-file resolve logic usable with different bundlers by PaulBlanche · Pull Request #389 · DigitecGalaxus/next-yak
Bluesky network10mo ago

www.galaxus.ch/en/page/next... Why and how we created next-yak (yak.js.org)

Bluesky network11mo ago

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

Next-Yak playground showing an editor on the left hand side, the rendered output on the right side on the upper two thirds and the transpiled CSS output on the lower third. You can see that next-yak transpiles styled-components looking code to static CSS
Bluesky network1y ago

We've released a eslint plugin for next-yak to make the migration from styled-components even easier and faster 🎉 Install it, try it and write us what you think yak.js.org/docs/eslint-...

A symbolic image of a cute little yak, holding a magnifying glass an reading something on a paper. It should symbolize that next-yak now is able to lint your code with the new eslint-plugin-yak.
Bluesky network1y ago

Didn't have luck this time, but I already have my eyes on another CFP. Let's see if that works out 🤞

@luca.schneider.is avatarLuca Schneider@luca.schneider.is

I've applied for my first conference (lightning) talk 😅 wish me luck

Bluesky network1y ago

I went from RSC lover to RSC sceptic and today as I'm unsure what to think of it, this incredible post dropped. I like it way better than the first post of dan, but I'm still not sure if the benefits of RSCs outweight the costs in all cases. The complexity and also the number of bugs is just huge.

@danabra.mov avatardan@danabra.mov

⚛️📝 New on Overreacted: JSX Over The Wire overreacted.io/jsx-over-the...

Bluesky network1y ago

Technical writeups are always interesting

@boshen.github.io avatarBoshen@boshen.github.io

How Rolldown Works: Module Loading, Dependency Graphs, and Optimization Explained www.atriiy.dev/blog/rolldow...

Bluesky network1y ago

Thanks to @jantimon.bsky.social, expect up to 20% smaller CSS files in the next update of next-yak (github.com/DigitecGalax...).

GitHub - DigitecGalaxus/next-yak: 🦀 Zero-runtime CSS-in-JS powered by Rust. Write styled-components syntax, get build-time CSS extraction and full RSC compatibility
Bluesky network1y ago

I've applied for my first conference (lightning) talk 😅 wish me luck

Bluesky network1y ago

We've migrated from styled-components to next-yak at our company (galaxus.ch) and we saw ~12% decrease in INP and ~15-20% decrease in LCP due to better latency on the server. Build times didn't go up drastically and moving forward we bet fully on it. Read the docs here: yak.js.org

Bluesky network1y ago

Why are imports of CSS files client component imports?

Bluesky network1y ago

Had a very nice sync call with @mnajdova.bsky.social @brijeshb42.bsky.social from MUI together with @jantimon.bsky.social to sync and discuss next-yak and pigment-css :) thanks again!

Bluesky network1y ago

I got it working 🥳 Had to specify explicitely that my swc plugin (wasm) should be included. The loading of the wasm is super slow (~10s), but I'm happy that it runs. Next up: optimize the loading time. @kdy1.bsky.social any hints?

@luca.schneider.is avatarLuca Schneider@luca.schneider.is

Maybe I have more luck here 😅: Does anybody have some experience running SWC as a standalone tool in a vercel function? I want to provide a playground for our SWC plugin, but that has to run on the server. It runs perfectly fine locally, but vercel has some issues with path mapping and binary sizes

Bluesky network1y ago

Maybe I have more luck here 😅: Does anybody have some experience running SWC as a standalone tool in a vercel function? I want to provide a playground for our SWC plugin, but that has to run on the server. It runs perfectly fine locally, but vercel has some issues with path mapping and binary sizes

Bluesky network1y ago

I'm bullish on ATproto. It makes so much sense

Bluesky network1y ago