This is the last minor release before v5, please start using the beta and give us feedback!

This is a minor release not a patch release due to this change: #2738. Apologies if this causes some code churn in your projects, it was a long-standing bug that needed fixing.

  • Fix to use ownerDocument instead of global document, by @yamachig (see #2721)

  • Backport fix for SSR classname mismatches in development mode for some environments like next.js (see #2701)

  • Fix attrs not properly taking precedence over props

  • Backport fix where classnames are composed in the wrong order if custom class names are passed in (see #2760)

  • Fix add check for style tag detached - sheet in the style tag is null in this case, by @newying61 (see #2707)

项目简介

🚀 Github 镜像仓库 🚀

源项目地址

https://github.com/styled-components/styled-components

发行版本 101

v5.3.0

全部发行版

贡献者 293

全部贡献者

开发语言

  • JavaScript 99.6 %
  • HTML 0.2 %
  • CSS 0.2 %