E
E
eugenedrvnk2020-07-17 11:18:13
Vue.js
eugenedrvnk, 2020-07-17 11:18:13

Which option for naming components is more correct?

There are quite a few "card components" in the project, which I style FilledCard, RowCard, ListCard, and so on.
Somehow I just remembered that in bootstrap buttons are named according to the principle btn-primary btn-default, i.e. first the noun and then the adjective.
It turns out that my version of naming cards is not the most correct? Or is there no need to dwell on these moments?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2020-07-17
@eugenedrvnk

The main thing that would be in the same style. And in which one - it's more convenient for you personally or within your team.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question