styled-components
6.6.0 · 12 Oct 2026MIT14.8M / weekRepositoryHomepagenpmAtom feed
Upgrading styled-components From 1.4.6 to 2.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Add hoisting static (non-React) properties for withTheme HOC
- New
Add
innerRefsupport to withTheme HOC - Fixed
Fix defaultProps used instead of ThemeProvider on first render
- Fixed
Prevent leakage of the
innerRefprop to wrapped child; under the hood it is converted into a normal Reactref - Fixed
Fix Theme context for StyledComponent for IE <10
- Fixed
Fix
setNativePropsin StyledNativeComponent - Fixed
Fix
refbeing passed to Stateless Functional Components in StyledNativeComponent
- New
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.