Component variants with the "class_variants" gem
Let's learn how to use the 'class_variants' gem to simplify your app's CSS by removing conditionals and cleaning up your views
Exequiel Rozas
Marketing Specialist
Let's learn how to use the 'class_variants' gem to simplify your app's CSS by removing conditionals and cleaning up your views
Exequiel Rozas
Marketing Specialist
Sometimes, you may want to track the loading times and memory allocations of ViewComponents, similar to how you do with partials. Follow these two steps to enable this functionality.
Adrian Marin
Author & CEO