Closed clodal closed 6 years ago
Can you provide a repo for reproduction?
I've made a repo for repro and actually found the error was due to having duplicated versions of styled-components
➜ apollo-universal-starter-kit git:(add-react-lazy-hero) ✗ yarn list styled-components
yarn list v1.7.0
warning Filtering by arguments is deprecated. Please use the pattern option instead.
├─ react-lazy-hero@0.4.0
│ └─ styled-components@2.4.1 // <<< dupe
└─ styled-components@3.4.5 // <<< dupe
Any chance we can move react-lazy-hero's styled-components
dep to a peer dep?
https://www.styled-components.com/docs/faqs#i-am-a-library-author-should-i-bundle-styledcomponents-with-my-library
Happy to PR
Thanks for the PR! v1.0.0 is published.
Any chance if server-side rendering is supported via
styled-components
?