š This PR makes styled-components a peer dependency. Consumers of this library are presumably already using styled-components in their top level projects, and running two versions of styled-components on a page can cause unexpected results.
I'm currently aliasing styled-components in my project with webpack to avoid using both versions but as I update styled-components I will be running the risk of introducing breaking changes that this library doesn't support.
Hope this is helpful + please LMK if you have any questions.
Also, if you're open to it, we've been running this package with versions of styled-components as recent as 3.3, so it could be helpful to bump the version or just expand the range of acceptable peer versions
š This PR makes
styled-components
a peer dependency. Consumers of this library are presumably already usingstyled-components
in their top level projects, and running two versions of styled-components on a page can cause unexpected results.https://github.com/styled-components/styled-components/issues/1032 https://github.com/styled-components/styled-components/issues/633
I'm currently aliasing
styled-components
in my project with webpack to avoid using both versions but as I update styled-components I will be running the risk of introducing breaking changes that this library doesn't support.There's more info here: https://www.styled-components.com/docs/faqs#i-am-a-library-author-should-i-bundle-styledcomponents-with-my-library
Hope this is helpful + please LMK if you have any questions.
Also, if you're open to it, we've been running this package with versions of styled-components as recent as 3.3, so it could be helpful to bump the version or just expand the range of acceptable peer versions