styled-jsx is a CSS-in-JSX solution for React that provides full, scoped, component-friendly CSS support, rendered on the server or the client. It helps isolate styles to components (using generated class names), supports global styles, and includes dynamic styles for values coming from props, state, or class toggling, plus options like source maps and vendor prefixing.
Project status
- The repository appears actively maintained, with a recent upstream push recorded on 2026-05-21, and prior documented updates through v5.1.7 (2025-04-30).
- The apparent update cadence is low but nonzero based on the shown history, with updates clustered in 2024 (v5.1.5, v5.1.6) and a subsequent update in 2025 (v5.1.7), and no newer update entries shown after that point.
AI summary generated Today
Recent updates
v5.1.7
4/30/2025v5.1.7 includes a bug fix intended to make styled-jsx work more reliably with React 18 hydration when using the useInsertionEffect hook. The fix adds logic to ensure registry insertion falls back to useLayoutEffect under certain conditions.
v5.1.6
5/24/2024v5.1.6 is a small packaging-only release. The only documented change is moving TypeScript from runtime dependencies to devDependencies in package.json.
v5.1.5
5/24/2024v5.1.5 is described as a small bug fix for declaration file typing context. The diff shows the project added a TypeScript type-checking step and modified several .d.ts files to adjust how the React JSX types are imported.