I understand why ECSS make CSS be isolated but I have a question. Here is two modal components and I cannnot same components. There are buttons which rules are same in each component. According to ECSS I should write same code but I think it is redundant. what would you do in this situation ? Thaks in advance. π
components # Presentational Components
.
βββ foo-modal
β βββ foo.css
β βββ foo.html
βββ hoge-modal
βββ hoge.css
βββ hoge.html
2 directories, 4 files