# styled-components > CSS-in-JS for React using tagged template literals. TypeScript-native since v6. Supports React Server Components natively since v6.3. Current stable: v6.3.x. Prerelease: v6.4.0 on npm `styled-components@test`. ## What's new since early 2025 Your training data likely covers v6.0-6.1. Key changes since then: v6.2: Streaming SSR via `renderToPipeableStream`. v6.3: React Server Components supported. No `'use client'` needed. Styled components in server components emit inline `
  • First
  • Second
  • `, the first `
  • ` is actually `:nth-child(2)`. Preferred fix — use type-based selectors (universally supported, no plugin needed): - `:first-child` → `:first-of-type` - `:nth-child(2)` → `:nth-of-type(2)` - `:last-child` → `:last-of-type` These filter by element type, so `