You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this component with gatsbyjs and styled components alongside react-styled-carousel.
I'm getting this error
It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles not rendering properly, errors happening during rehydration process and makes your application bigger without a good reason.
See https://s-c.sh/2BAXzed for more info.
Is there a way for me to prevent react-styled-carousel from loading styled components as well?
If I remove react-styled-carousel the error goes away.
The text was updated successfully, but these errors were encountered:
I could be wrong but checking out package.json I believe react and styled components should only be peer dependencies but it looks like they're duplicated in to peer dependencies and dependencies.
Repository owner
locked as off-topic and limited conversation to collaborators
Mar 17, 2019
Hey there, thanks for the great component!
I'm using this component with gatsbyjs and styled components alongside
react-styled-carousel
.I'm getting this error
Is there a way for me to prevent
react-styled-carousel
from loading styled components as well?If I remove
react-styled-carousel
the error goes away.The text was updated successfully, but these errors were encountered: