react-pixi-fiber 1.0.0-beta.13 → 1.0.0-beta.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -14
- package/index.es.js +5 -0
- package/index.umd.js +5 -0
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -15,6 +15,22 @@ For React <16.0.0 see [`react-pixi`].
|
|
|
15
15
|
See [Rotating Bunny](https://codesandbox.io/s/q7oj1p0jo6) demo.
|
|
16
16
|
|
|
17
17
|
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
## Installing
|
|
21
|
+
|
|
22
|
+
The current version assumes [React] >16.0.0 and [PixiJS] >4.4.0
|
|
23
|
+
|
|
24
|
+
yarn add react-pixi-fiber prop-types pixi.js
|
|
25
|
+
|
|
26
|
+
or
|
|
27
|
+
|
|
28
|
+
npm install react-pixi-fiber prop-types pixi.js --save
|
|
29
|
+
|
|
30
|
+
Refer to next sections to see usage examples.
|
|
31
|
+
|
|
32
|
+
This package works flawlessly with [Create React App](https://github.com/facebookincubator/create-react-app) – see examples below, they already use it.
|
|
33
|
+
|
|
18
34
|
## Usage
|
|
19
35
|
|
|
20
36
|
### With ReactDOM
|
|
@@ -73,19 +89,6 @@ This example will render [`PIXI.Text`] object into a [Root Container] of PIXI Ap
|
|
|
73
89
|
4. Wait few seconds and browse examples that will open in new browser window.
|
|
74
90
|
|
|
75
91
|
|
|
76
|
-
## Installing
|
|
77
|
-
|
|
78
|
-
The current version assumes [React] >16.0.0 and [PixiJS] >4.4.0
|
|
79
|
-
|
|
80
|
-
yarn add react-pixi-fiber
|
|
81
|
-
|
|
82
|
-
or
|
|
83
|
-
|
|
84
|
-
npm install react-pixi-fiber --save
|
|
85
|
-
|
|
86
|
-
This package works flawlessly with [Create React App](https://github.com/facebookincubator/create-react-app) – see examples above, they already use it.
|
|
87
|
-
|
|
88
|
-
|
|
89
92
|
## Migrating from [`react-pixi`]
|
|
90
93
|
|
|
91
94
|
It is possible to use React Pixi Fiber as a drop-in replacement for `react-pixi`.
|
|
@@ -496,7 +499,7 @@ Yes! Awesome!
|
|
|
496
499
|
|
|
497
500
|
### What version of PixiJS I can use?
|
|
498
501
|
|
|
499
|
-
|
|
502
|
+
PixiJS v4, v5 and v6 are supported.
|
|
500
503
|
|
|
501
504
|
### Can I use already existing [`PIXI.Application`]?
|
|
502
505
|
|
package/index.es.js
ADDED
package/index.umd.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-pixi-fiber",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.14",
|
|
4
4
|
"description": "React Fiber renderer for PixiJS",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"umd:main": "index.umd.js",
|
|
@@ -14,7 +14,9 @@
|
|
|
14
14
|
"LICENSE",
|
|
15
15
|
"README.md",
|
|
16
16
|
"index.d.ts",
|
|
17
|
+
"index.es.js",
|
|
17
18
|
"index.js",
|
|
19
|
+
"index.umd.js",
|
|
18
20
|
"react-pixi-alias.js",
|
|
19
21
|
"cjs/",
|
|
20
22
|
"umd/",
|