-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make styled-components a devDependency #21
Comments
I'll take this if nobody else is hankering for it |
Short update: I also spent some time trying to get rid of |
Yeah I think @montezume took a dive into it once too. |
Yeah, I spent about an afternoon and it felt wasted. Didn't really come up with a good solution 😢 |
Can we somehow extract the behavior of |
Shouldn't it be tree shaken? Seems to be glued together with the rest ref. |
We could at least update to styled-comp v4 for a small bundle size improvement in the mean time. |
I tried upgrading to
The upgrade guide says to use the I also moved the version requirements up to at least At this point, I would just accept any workaround to keep the animation or drop the component which does the animation. |
More on replacing the animation in https://css-tricks.com/using-css-transitions-auto-dimensions/. |
I opened #179 now which gets rid of However, we still use |
We are currently only using the
keyframes
feature ofstyled-components
, and only for a single component. It doesn't make much sense to bundle all ofstyled-components
for this.We should make
styled-components
adevDependency
and restrict its usage to stories of storybook!The text was updated successfully, but these errors were encountered: