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
400 stars 19 forks source link

[core][enhancement] Disable WeakRef usage in WyW modulate evaluation #25

Closed brijeshb42 closed 2 months ago

brijeshb42 commented 2 months ago

phase to avoid the "Invariant: Module 00041 has been disposed" issues. This results in more reliability but at the cost of more memory consumption which should be fine for now.

Related to https://github.com/mui/material-ui/pull/41909, https://github.com/Anber/wyw-in-js/pull/71