Open nkapolcs opened 4 years ago
Does styled components have any conventions?
I don't find any "official" conventions, I think the reason is that with SC you are building fully encapsulated components. BEM and other conventions were very helpful when you had a big CSS, SASS,... framework and with this naming convention, you could build sustainable codebase. Now in SC, this is not as important.
But I think we can agree with one of these naming schemes (+1 for Two Dashes style): https://en.bem.info/methodology/naming-convention/
Based on: https://github.com/c-hive/c-hive.dev/pull/76#discussion_r369980888
Across the project, we should use consistent CSS naming rules.