Skip to content

Add compatible with styled-components v5#78

Open
vsn4ik wants to merge 1 commit intoAlexanderRichey:mainfrom
vsn4ik:styled-components-v5
Open

Add compatible with styled-components v5#78
vsn4ik wants to merge 1 commit intoAlexanderRichey:mainfrom
vsn4ik:styled-components-v5

Conversation

@vsn4ik
Copy link

@vsn4ik vsn4ik commented Sep 13, 2025

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@vsn4ik vsn4ik changed the title add compatible with styled-components v5 Add compatible with styled-components v5 Sep 13, 2025
@AlexanderRichey
Copy link
Owner

Hey @vsn4ik, Can you explain why you need this change? styled-components v5 is supported by v3.0.1. There might be unexpected behaviors if we support both v5 and v6.

@vsn4ik
Copy link
Author

vsn4ik commented Sep 15, 2025

image

6 months ago styled-components entered maintenance mode so the probability that a version of styled-components will be released that would break something is extremely low.
Two years ago, backward compatibility with styled-components@5 was removed without any abrupt reasons.
In addition, according to statistics, 78% of live downloads (week) are for an outdated version that for some reason has not received much coverage over these two years.
Yes, perhaps some cannot be updated by react, but most cannot be updated by styled-components.
Your project has full compatibility with styled-components@5, and this edit in peer Dependencies does not remove compatibility with styled-components@6.

Refs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants