bem / bem/bem-react

@bem-react/classname: Can't add modifier with value === 0

Open
#627 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
450
Forks
69
PR merge metrics
No merged PRs in 30d

Description

For example:

```js
const cnSnippet = cn('Snippet');
const snippetCn = cnSnippet({ index: 0 }); // expected 'Snippet_index_0', but got 'Snippet'
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.