https://github.com/zgreen/vanilla-extract-bug
https://github.com/zgreen/vanilla-extract-bug
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zgreen/vanilla-extract-bug
- Owner: zgreen
- Created: 2022-10-07T18:26:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-07T18:26:05.000Z (over 3 years ago)
- Last Synced: 2025-03-04T11:42:32.311Z (over 1 year ago)
- Language: CSS
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a reproduction of https://github.com/vanilla-extract-css/vanilla-extract/issues/654.
STR:
1. `npm i`
2. `npm run dev`
3. Observe that the global styles are not applied, and note this error in console: `Warning: Prop `className` did not match. Server: "Home_margin_0_auto__nl8u7q0" Client: "Home__nl8u7q1 Home_margin_0_auto__nl8u7q0"`.
4. 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.