styled-components
6.6.0 · 12 Oct 2026MIT14.8M / weekRepositoryHomepagenpmAtom feed
Upgrading styled-components From 4.0.2 to 4.0.3
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 3
- new
- 0
- fixes
Release by release
- New
Add
suppressClassNameWarningprop to disable warning when wrapping a React component withstyled()and theclassNameisn't used, - New
Expose ThemeContext to enable static contextType support for React 16.6,
- New
Add warning if an
attrsprop is a function that returns an element,
- New
2 other lines we could not sort, mostly version bumps
- 4.0.3
Interpolating a styled component into a string now returns the static component selector (emotion cross-compat)
- 4.0.3
Filter out invalid HTML attributes from
attrs,
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.