Transient Props in styled‑components v6: Ensuring Consistent Class Names After the v5→v6 Upgrade
Background styled‑components switched from a custom prop‑filtering strategy in v5 to the transient‑prop pattern ($‑prefixed props) in v6, alongside an internal stylis v4 upgrade. The new model removes implicit prop forwarding to the DOM, but it also changes how class names are generated during server‑side rendering (SSR) and client hydration. Constraints Aft