yarastqt / bem-react-next

MIT License
5 stars 0 forks source link

Remove getChildContext for getting blocks #21

Closed yarastqt closed 6 years ago

yarastqt commented 6 years ago

Example:

<BlockA>
  <BlockB>
    <ElemA /> <- block will be block-b from context, but we expected will be block-a
  </BlockB>
</BlockA>