Style deduplication consistency across ThemeProvider v4-to-v5 transition
The global CSS registry in styled-components guarantees that identical style definitions share a single <style> tag, preventing duplication even when components render multiple times. This behavior is central to both the ThemeProvider inject and the withTheme higher‑order component, and it is further refined by the useTheme hook introduced in v5. A pre