bem / bem-react

A set of tools for developing user interfaces using the BEM methodology in React
http://bem.github.io/bem-react
Other
440 stars 63 forks source link

Mix should work with bemjson as bem-xjst does #130

Closed Yeti-or closed 7 years ago

Yeti-or commented 7 years ago

spec: https://github.com/bem/bem-xjst/blob/master/docs/en/4-data.md#mods Right now everything is okay except mods in elems: https://github.com/bem/bem-react-core/pull/131

Yeti-or commented 7 years ago

Discussed that: we shouldn't use elemMods inside mix field. We should add this fact to refs: https://github.com/bem/bem-react-core/blob/master/REFERENCE.md#mix-addmix https://github.com/bem/bem-react-core/blob/master/REFERENCE.ru.md#mix-addmix

only block, elem and mods fields are accepted