Skip to content

Should We Use Sass Modules? #544

Description

@MKwenhua

@mrfantasticwonders @toastercup
After encountering an issue with css class definition precedence, which resulted in the inability to modify the background gradient on an element by applying additional classes I thought that maybe being able to specify the order of classes in module imports could alleviate that.

Anyways, I am fine either way but would just like to hear your input.

About Sass Modules:
https://medium.com/@marcmintel/how-to-use-the-module-pattern-in-your-scss-sass-stylesheets-89fe38a6e1f3

Anyways Below I have included some articles one Pro CSS Modules, and the other Anti CSS Modules.

Pro:
https://m.alphasights.com/css-evolution-from-css-sass-bem-css-modules-to-styled-components-d4c1da3a659b

Con:
https://medium.com/@gajus/stop-using-css-in-javascript-for-web-development-fa32fb873dcc

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions