This is a reproduction of vanilla-extract-css/vanilla-extract#654.
STR:
npm i
npm run dev
- Observe that the global styles are not applied, and note this error in console:
Warning: Prop
classNamedid not match. Server: "Home_margin_0_auto__nl8u7q0" Client: "Home__nl8u7q1 Home_margin_0_auto__nl8u7q0"
. - Edit the
Home.css.ts
file (it doesn't matter what you change, it just needs to be edited and saved). See that the styles are applied.