M
M
magary42020-05-27 21:47:43
Sass
magary4, 2020-05-27 21:47:43

Arguments against less, scss?

I did a test task and styled the components with regular css
, now they ask me why without compilers,
are there any arguments against less, scss for an application on react.js?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Arseny, 2020-05-27
Matytsyn @ArsenyMatytsyn

There is no point in deploying a full-fledged development environment for the sake of a test task.
Unless the purpose of the job is to look at this deployment approach.

T
the5x, 2020-05-27
@the5x

LESS and SASS give dubious performance in development speed. While you set everything up for work, you can already lay out several blocks. If you use best practices, then you can get confused in the architecture of the number of folders. Separate components, mixins, layers, variables, etc. Yes, there are advantages to nesting and short variable access names, but the main advantage is in the component approach. Only, what prevents to make one main.css and import it there, the same components.

R
Robur, 2020-05-28
@Robur

It does not matter what arguments may be "against".
It's about your test - they need to see that you are aware of what it is and can take it and use it in a real project.
Therefore, seeing that you wrote without them - a reasonable question "why".
The answer can be "because it's not needed here, but I'm generally good at them" (and here they may want confirmation) or "because I don't know them." Or maybe you are an ardent fan of "against preprocessors" and if they take you and force you to use them, you will sabotage everything, and in general they will regret a hundred times.
Just tell it like it is - you didn't use it because it makes no sense, but in general you can use them without problems (if you can).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question