CY
banner
cyishere.bsky.social
CY
@cyishere.bsky.social
👩🏻‍💻🚀🖖🏻 Learning to be a better front-end developer. ♥️ React, GraphQL & Prisma.

🌐 https://cyishere.dev
I'm making Button components with DaisyUI, but the buttons always appear as default. It turns out it's because of how TailwindCSS deals with dynamic class names. One solution is adding a safelist pattern for the dynamic class names. More reading below.
November 15, 2024 at 10:08 AM
I've been writing styled-components for some years. The other day, I wrote some nesting CSS like the one in the image out of habit, but I was writing CSS modules, and it still works! It turns out vanilla CSS also supports this kind of nesting. So cool.
April 14, 2024 at 7:26 AM