[RFC] Rely on <style> element rather than CSS Modules? #81
Labels
enhancement
This is not a bug, nor a new feature
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
Summary
Considering the support of stylesheet in React 19 https://react.dev/blog/2024/04/25/react-19#support-for-stylesheets. I wonder if we couldn't rely on this rather than on the emission of a CSS Modules file. The docs: https://react.dev/reference/react-dom/components/style. Maybe this would make the bundlers integration simpler, we would only need to transpile the source.
Examples
No response
Motivation
Simplify the bundler integration. It might mean that we only need to transpile code, like https://react.dev/learn/react-compiler is doing.
Two concerns though:
Search keywords: -
The text was updated successfully, but these errors were encountered: