npm install yun-ui-kitThis library favors:
* only supporting "all-green" browsers
over messy code for backwards compatability
* functional implementations using the ramdajs library
over imparative code
* minimal implementations for components supporting the most common use cases
over an ocean of component properties
* composition through render callbacks
over properties to tell components how to render themselves
``NO
AmazingComponent {showBullets: true, height: 10, propertyToUse:'name'}
AmazingComponent
itemComponent: MyComponent
itemProps: {style: {height:10}}
`
```
.popup > ul { ... }
.content-box ul { ... }
.panel .list { ... }
...which is hard to override later. Inline styles gives a less cascading, more modular way of working.
If this is the best solution or if something like css-modules will win is left to see though :)