Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 943 Bytes

README.md

File metadata and controls

37 lines (31 loc) · 943 Bytes

BEM + React + Reflux

This is a simple demo of combining modern front-end technologies.

##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