Radium v0.16.5 Release Notes

Release Date: 2016-01-27 // about 8 years ago
  • ๐Ÿ› Bug Fixes

    • ๐Ÿ’… Don't merge media query styles, fixes #550
    • ๐Ÿ›  Don't add className if empty, fixes #539

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ’… Passing 'all' as the userAgent will add all prefixes, useful for caching server-rendered pages, thanks @oliviertassinari (this applies to inline styles and style rendered as CSS, but does not yet include adding all the prefixed versions of keyframes)
    • โž• Add support for :visited styles:
    const url = 'https://github.com/formidablelabs/radium';
    const VisitedLink = Radium(() => (
      <a href={url} style={{color: 'gray', ':visited': {color: 'black'}}}>
        {url}
      </a>
    ));