piact

0.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i piact

Weekly Downloads

0

Version

0.0.2

License

GPL-3.0

Last publish

Collaborators

  • zhouyg