Goober is a small css-in-js solution (stated as less than 1KB) with a familiar, styled-inspired API for defining styled components and styles in JavaScript. It is useful for rendering and theming in frameworks like React and Preact, including server-side rendering support via utilities like extractCss.
Project status
- Actively maintained: Yes, the repository shows recent
updates(e.g., v2.1.19 on 2026-05-13, and earlier bugfix-focused updates in 2025), and the change history includes both core code adjustments and developer-facing documentation/packaging work. - Update cadence: Appears irregular but ongoing, with a notable gap between v2.1.18 (2025-10-03) and v2.1.19 (2026-05-13), and earlier sequences clustering in 2024-2025 before that.
AI summary generated
Recent updates
v2.1.19
v2.1.19 primarily updates the website build setup by moving from WMR to Vite, along with some documentation tweaks and general “size shaves”. The code diff also contains several internal core changes in Goober itself (global styles rendering, hash/global replacement behavior, and CSS property parsing), none of which are explicitly called out in the release notes.
Featuresv2.1.18
v2.1.18 includes a CSP-related fix intended to ensure the style element nonce is set before the element is appended to the DOM. The release notes only mention the nonce ordering fix, but the code change also adjusts how the nonce is assigned and when the style element is appended.
Securityv2.1.17
v2.1.17 adds support for Content Security Policy nonces for goober's inline styles. The implementation updates the internal sheet creation logic to read a global nonce value and apply it to goober's injected <style> element.
SecurityFeaturesv2.1.16
v2.1.16 includes a targeted fix for handling the :has selector when it is used alongside multiple selector segments. The accompanying integration test was extended to cover combined :has patterns, and the core selector parsing logic was adjusted via a regex change to support the new cases.
v2.1.15
Release v2.1.15 makes a TypeScript typing adjustment by switching the library declaration types from the global `JSX` namespace to `React.JSX`. No runtime code changes are indicated, only `.d.ts` and version metadata updates.
Breakingv2.1.14
Version v2.1.14 updates the package.json export map to include TypeScript type entry points for the subpath exports. The documented change mentions the should-forward-prop entry, but the diff shows additional type export additions for other subpaths as well.
v2.1.13
v2.1.13 primarily updates package metadata to expose TypeScript type definitions to consumers. The code diff is limited to package.json and package-lock.json, with no runtime logic changes.
Featuresv2.1.12
v2.1.12 contains only documentation and website text changes. The release notes mention a small typo fix and an added warning about unsupported `import styled from`, both of which are reflected in the diff.
v2.1.11
v2.1.11 contains a single change referenced as Fix #376. The code changes focus on how global styles are updated, adding support for replacing previously injected global CSS instead of appending it.
v2.1.10
Release v2.1.10 makes small packaging and metadata changes. It adds an MIT LICENSE file to the goober-autoprefixer (prefixer) package, and updates several package metadata fields and lockfile versions accordingly.