PillarJS

"Batteries-included" library for Web Components inspired by React.

## Getting started Getting started with Pillar is extremely easy. 1. Install Babel preset: ``` npm install --save-dev babel-preset-pillar ``` and add it to your `.babelrc`: ```json { "presets": ["pillar"] } ``` 2. Create a component: ```jsx import Pillar from 'pillarjs'; class SuperHeader extends Pillar { render(props) { return (

{props.mainContent}

It's Superpowered!

); } } Pillar.register(SuperHeader, 'super-header'); ``` 3. Use it in your HTML: ```html
... ...
``` The resulting HTML will be: ```html

It's not a simple header.

It's Superpowered!

``` ## Documentation [Check out the docs](https://storehubnet.github.io/pillarjs/) to learn about rendering from strings and template tags, alternative build configurations and everything else.