{"repo":"michalochman/react-pixi-fiber","free":true,"listed":false,"github":"https://github.com/michalochman/react-pixi-fiber","clone":"git clone https://github.com/michalochman/react-pixi-fiber.git","description":"Write PixiJS applications using React declarative style.","language":"JavaScript","stars":880,"topics":["react","reactjs","pixi","pixijs","renderer"],"license":"MIT","category":"game-templates","readme_excerpt":"ReactPixiFiber – React Fiber renderer for PixiJS ReactPixiFiber is a JavaScript library for writing PixiJS applications using React declarative style in React 16 and above. For React react-pixi . Demo See Rotating Bunny demo. Also, please explore our CodeSandbox templates: Hello world using JavaScript Hello world using TypeScript and examples: Rotating Bunny AnimatedSprite using CustomComponent Aligning texts Sharing Redux state Using animated 🚀 Migrating from version 0.x.y ? 🚀 Read migration guide. Installing The current version assumes [React] 16.0.0 and [PixiJS] 4.4.0 yarn add react-pixi-fiber prop-types pixi.js or npm install react-pixi-fiber prop-types pixi.js --save Refer to next sections to see usage examples. This package works flawlessly with Create React App – see examples below, they already use it. Usage With ReactDOM (React 18 and above) This example will render [ PIXI.Sprite ] object into a [Root Container] of [ PIXI.Application ] on the page. The HTML-like syntax; called JSX is not required to use with this renderer, but it makes code more readable. You can use Babel with a React preset to convert JSX into native JavaScript. --- With ReactDOM (React 16 and 17) This example will render [ PIXI.Sprite ] object into a [Root Container] of [ PIXI.Application ] on the page. The HTML-like syntax; called JSX is not required to use with this renderer, but it makes code more readable. You can use Babel with a React preset to convert JSX into native JavaScript. --- Witho","default_branch":null,"files":null,"tree":[],"storefront":"/r/michalochman","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/michalochman/react-pixi-fiber/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}