Luca Schneider

Luca Schneider

Luca Schneider is a Senior Software Engineer at Digitec Galaxus, Switzerland's largest e-commerce platform. He co-created next-yak alongside Jan Nicklas (creator of html-webpack-plugin), a compile-time CSS-in-JS library that brings the styled-components API to the build-time era. His rabbit hole of choice is frontend infrastructure (compilers, bundlers and tools that shape how developers write code) and outside of work he’s learning to throw pottery.
The Internals of compile-time CSS-in-JS
React Advanced 2026React Advanced 2026
Upcoming
The Internals of compile-time CSS-in-JS
Styled-components lost against Tailwind, partly due to better performance while trading it for a unique API. Can’t you have both, a fast runtime and a familiar API?We replaced styled-components with a build-time compiler in next-yak without changing a single line of user code and saw surprising results: INP improved over 10%, our SSR latency and our pod count dropped significantly. But the path there wasn’t simple.This talk is about three problems that make compile-time CSS-in-JS genuinely hard: dynamic interpolations, cross-file references and build-time evaluation. I will show what we solved, how we solved it and what we couldn’t fully solve and why the remaining gap is a harder problem than it looks.