-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
Add namespace option #281
Add namespace option #281
Conversation
Dear core contributors, |
I was looking for exactly this feature to solve a production bug with clashing class names generated by styled-components. It would be awesome to have this feature available! |
@bowsersenior as for now, I have released fork with namespace setting |
I'm also having a production bug related to multiple styled-components instances conflicting. |
this would also solve a lot of the issues i am having as well, ping again :P |
If someone could add some docs to the website, that'd be awesome: styled-components/styled-components-website#696 |
This is a fix of 2974.
I have already implemented fork of this repo and tested it with my adoption:
@rajzik/babel-plugin-styled-components.
It is working well and it creates a unique name with the given namespace.
This will resolve all issues with micro frontends class name duplication.