Skip to content

v3.0.0

Compare
Choose a tag to compare
@giuseppeg giuseppeg released this 05 Aug 09:49
· 134 commits to main since this release
  • Enables authoring of styles in actual css files via the new styled-jsx/webpack loader 🔥

  • Introduces support for dynamic HTML elements

const Heading = `h${props.level}` 
  • Simplifies styling of child components via the new css.resolve tag which returns the scoped className and styles
const { className, styles } = css.resolve`p { color: black }` 
// ...
<div>
  <ChildComponent className={className} />
  {styles}
<div/>
  • React.StrictMode compliant

Breaking changes

  • 051d0d1 - Rewrote styled-jsx/css. External global styles should now be tagged with css.global`` (#422) (@giuseppeg)

Features

Patches