0.0.2 • Published 7 years ago

piact v0.0.2

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
7 years ago

pact

organize pixi object group like react style

in the past

const c1 = new PIXI.Container();
const c2 = new PIXI.Container();
const c3 = new PIXI.Container();

c1.addChild(c2);
c1.addChild(c3);

now

class C1 extends PactComponent {
  render () {
    return (
      <c>
        <c/>
        <c/>
      </c>
    );
  }
}

how to dev

npm run build-w

npm run mocha-w