Goober, a less than 1KB css-in-js solution
summary
Goober claims a full CSS-in-JS API in less than 1KB, hashing style input into class names and generating real CSS from a tiny parser that falls back to regex for string handling. It updates a text node inside the style tag for performance instead of repeatedly mutating rules, supports server-side rendering via a data property string buffer, and works with preact and SSR—missing conveniences like built-in tag autocompletion but otherwise functional.
AI-written summary · about
chapters (5)
- 0:00Introduction to goober
- 0:45Project motivation
- 2:01Architecture and parsing
- 3:50Performance considerations
- 4:31SSR and conclusion








