styled-components v3.3.0 Release Notes

Release Date: 2018-05-25 // almost 6 years ago
    • ๐Ÿ›  Fix off-by-one error in insertRuleHelpers.js, by @migueloller (see #1749)

    • โž• Add first-class support for objects, by @mxstbr (see #1732)

      const Component = styled.div({
        color: 'blue'
      })
    
    • ๐Ÿ›  Fix typo in console warning about multiple instances, by @lucianbuzzo (see #1730)

    • ๐Ÿ’… Make the multiple instance warning criteria a little more strict to avoid badgering people running unit tests, by @probablyup (see #1693)

    • ๐Ÿ›  Fix React.createRef() values for innerRef being ignored in React Native, by @simonbuchan (see #1718)

    • ๐Ÿ’… Hoist non-react static properties on wrapped classes, by @probablyup (see #1750)

    • ๐Ÿ‘Œ Support attributes prefixed by x-, by @mlecoq (see #1753)