@giuseppeg giuseppeg released this Aug 5, 2018 · 13 commits to master since this release

Assets 2
  • 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