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

DX-friendly selectors names #89

Open
artalar opened this issue Sep 30, 2019 · 0 comments
Open

DX-friendly selectors names #89

artalar opened this issue Sep 30, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@artalar
Copy link
Collaborator

artalar commented Sep 30, 2019

I propose to add a component (for css-in-js API) name to generated selector name for development mode for better DX.

For example:

export const Comp = styled`container{...}`(<container />)

Must to generate something like Comp_container_HaCe3q.

@lttb lttb added the enhancement New feature or request label Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants