pixi-react

1.2.2 • Public • Published

pixi-react

organize pixi object group like react style

installation

npm i --save-dev pixi-react

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 pixi-react

Weekly Downloads

4

Version

1.2.2

License

GPL-3.0

Unpacked Size

1.12 MB

Total Files

10

Last publish

Collaborators

  • zhouyg