mui / pigment-css

Pigment CSS is a zero-runtime CSS-in-JS library that extracts the colocated styles to their own CSS files at build time.
MIT License
396 stars 19 forks source link

React devtool missing name #74

Open oliviertassinari opened 1 month ago

oliviertassinari commented 1 month ago

Steps to reproduce

Check https://github.com/oliviertassinari/react-conf-2024-pigment-css/blob/b55ff16e86831ac790972659546bc01484861c19/src/Slide1.tsx#L124-L147. It's using Vite.

Current behavior

See the React dev tool output:

SCR-20240511-onfq

The best one between styled-components (styled.div), Emotion (span Styled), and Pigment CSS (undefined Syled) is clearly not Pigment CSS.

Expected behavior

No response

Context

No response

Your environment

npx @mui/envinfo ``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```

Search keywords: -