Skip to content
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

ui: shared styled components classnames may be duplicated when included into another micro-frontend #3263

Closed
JBWatenbergScality opened this issue Apr 6, 2021 · 0 comments
Labels
topic:ui UI-related issues

Comments

@JBWatenbergScality
Copy link
Contributor

Component:

ui

What happened:

ClassNames were duplicated when integrating shell-ui navbar within another micro frontend.

What was expected:

Generated class names should be unique per components/micro-frontend to avoid duplication and styling issues.

Resolution proposal:

As recommended by styled component documentation (https://styled-components.com/docs/tooling#namespace), class names should be name-spaced per micro-app to avoid collisions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic:ui UI-related issues
Projects
None yet
Development

No branches or pull requests

1 participant