Replies: 3 comments 3 replies
-
Thanks for this. This is definitely something we're open to discuss. I'm curious about the general preference between increasing the API layer vs using babel. |
Beta Was this translation helpful? Give feedback.
-
Hi @peduarte - Any thoughts on this since this discussion was opened. I'm pushing for Stitches at work and other engineers are worried about debugging since they've come reliant on reading markup through inspect element. |
Beta Was this translation helpful? Give feedback.
-
This is the workaround i came up with. I would prefer tho there is a simpler way, like adding a name attribute for example directly in css function. Hope this helps. import { css } from 'stitches.config'; const sidebarStyles = css({ const SidebarStyles = () => { export default SidebarStyles; |
Beta Was this translation helpful? Give feedback.
-
Hi guys. stitches is a great library and I love it. But I found it's hard to debug. There's no way for developer to customize the classname and I can't refer the hased classname in code. In emotion, developer can use
label
prop to thecss
API. Then classname will be with the suffixlabel
.It's more readable and useful for debug. With the support of babel plugin, the label can be generated automatically. If there's any posibility for the feature?
Beta Was this translation helpful? Give feedback.
All reactions