This is a simple demo of combining modern front-end technologies.
##BEM
- BEM architecture throug all technologies: styl, stores, actions, jsx..
- ENB as build system
- enb-babel for transform JSX and ES6+ syntax
- @aristov talk on react + bem
##react-tools.blocks
- react.js and reflux.js copy or React http loader, that provide React as a module in ym
- bem-cn lib for bem class names
##Main Idea To demonstrate technologies encapsulation in BEM architecture.
./desktop.blocks/my-block
|
|--_actions
| |--my-block__actions.js
|
|--_store
| |--my-block__store.js
|
|--my-block.styl
|--my-block.jsx
|--my-block.deps.js
|
##Install and run Clone this repo and run
npm i && npm start