You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it is not possible to use CSS modules to style components in React, which limits flexibility and has various use cases.
User stories
One example is the Navbar with Nested Links. If a developer wants to reuse this example, they must transform the styles into CSS-in-JS and write them inline. This process can be time-consuming and defeats the purpose of reusing components efficiently.
Adding support for CSS modules would simplify this workflow and improve the developer experience.
The text was updated successfully, but these errors were encountered:
Short description
Currently, it is not possible to use CSS modules to style components in React, which limits flexibility and has various use cases.
User stories
One example is the Navbar with Nested Links. If a developer wants to reuse this example, they must transform the styles into CSS-in-JS and write them inline. This process can be time-consuming and defeats the purpose of reusing components efficiently.
Adding support for CSS modules would simplify this workflow and improve the developer experience.
The text was updated successfully, but these errors were encountered: