DEV Community

Discussion on: A case against modern CSS frameworks (component libraries)

Collapse
 
jamesjcole profile image
James Cole

This is a great thought to have. The key things I've found is when using frameworks :

  1. Only include what's needed (most scss based frameworks allow you to do this).
  2. Override using variables first (scss again).
  3. Full customisation should use a a compilation pattern that overrides the frameworks file for the changes you are making. Gulp with node-sass can really help here.

I also found that you can use frameworks to help promote and control consistency when working with multiple devs. Bad patterns are easier to spot, and in-eficciencies are noticeable if you follow the above guides.