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 forinnerRef
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)