We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
v8.0.0 release notes
You need to replace mix() to addMix(), attrs() to addAttrs(), js() to addJs(). Behaviour will be the same.
mix()
addMix()
attrs()
addAttrs()
js()
addJs()
If you develop common library you must use add*-modes as users may need to extend template values via BEMJSON.
add*
You should use mix() or attrs() to override third-party code (for example from block library) to skip mixes or attributes that you don’t need.
You can flip priority from template value to BEMJSON value by template like this:
block('b').attrs()(function() { return this.extend({ some: 'prop' }, applyNext()); });