awinogradov / react-bl

React components powered by XJST
http://awinogradov.github.io/react-bl
24 stars 3 forks source link

reuse VIDOM.prototype.buildClasses instead of bem-cn #30

Closed Guria closed 8 years ago

Guria commented 8 years ago

Is it even possible?

awinogradov commented 8 years ago

No, it is impossible. XJST is precompiled and wrapped in react-xsjt module. We can use bem-naming, but I think bem-cn is friendliest now.

awinogradov commented 8 years ago

We can do it but it'll big magic and any bem component will depend on VIDOM.