Rails 7 with CSS modules #1310
-
Hi! We've got a web app written in React, but it mostly consists of static landing pages and fetches the content from a headless CMS. I was wondering if using Rails (7.x) in this case would increase performance, reduce maintenance cost, and provide better browser support. Our current website uses CSS modules and I'd really like to avoid rewriting all CSS to use e.g. BEM or something similar. I was wondering if anyone tried using ViewComponent together with CSS modules in Rails 7 and what their setup is. At the moment, I'm trying it out with PostCSS and |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
As noted elsewhere, we've decided not to couple ViewComponent to any specific CSS/JS architecture. |
Beta Was this translation helpful? Give feedback.
As noted elsewhere, we've decided not to couple ViewComponent to any specific CSS/JS architecture.