-
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
-
**Result from CocInfo**
Run `:CocInfo` command and paste the content below.
```vim
## versions
vim version: NVIM v0.3.4
node version: v8.9.0
coc.nvim version: 0.0.52
term: xterm-256color
pla…
-
-
UPD: можно попробовать https://github.com/bem/create-bem-react-app
Привет!
Хочется попробовать сделать React-компоненты с использованием методологии BEM: разделение на блок-элемент-модификатор и н…
-
Бандлы для сборки имеют одинаковое содержание независимо от платформы:
```
project/
├── …
├── bundles/
│ ├── desktop.bundles/
│ │ ├── about/
│ │ │ └── about.bemdecl.js
│ │ └── …
-
Will be very helpful if there will be full BEMJSON support:
``` js
bemNaming.stringify({block: 'page', mods: {type: 'inner'}, mix: {block: 'page-404', elem: 'content', elemMods: {type: 'any'}}});
//…
-
In bemjson:
``` js
{
block: 'some',
content: 'Texttext2'
}
```
Result in html some times ago:
``` html
Texttext2
```
Result in html now
``` html
Text<br>Text
```
-
for example I was confused with all bem* formats and write something like that:
```
({ block: 'popup', mods: { theme: ['normal', 'action'] } })
```
I will get ``
In big project I can even don't…
-
```
block: 'header',
segments: [{ block: 'menu'}, { block: 'logo'}, {block: 'user'}]
```
->
```
[{block: 'header'}]
```
`agressive: true`
->
```
[
{block: 'header'},
{block: 'm…
-
```js
BemjsonMods = Map // just interface
BemjsonNode = {
block: String,
elem: ?String,
mods: ?BemjsonMods,
elemMods: ?BemjsonMods,
mix: ?Array
};
```
```js
new BemjsonNode({
…