Answer the question
In order to leave comments, you need to log in
How carefully do you split up your .sass .jade components?
How much do you fragment your components with preprocessors?
I love "more complex languages" very much, in which everything is even supposed to be crushed.
But now I realized that when creating a certain panel, I created as many as four files, like -
.container
.play-button
.pause-button
.main
Answer the question
In order to leave comments, you need to log in
I do 1:1, i.e. for one component one style file. Components can have both basic elements, such as buttons, I have them as base-style, and other components (rarely, but there are situations).
The more files you breed, the harder it is to keep track. It's like little children, blinked and they had already fled =)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question