@inglorious/renderer-react-dom 3.0.0 → 4.0.0
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/package.json +5 -5
- package/src/game/game.jsx +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inglorious/renderer-react-dom",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "A renderer for the Inglorious Engine, using React components.",
|
|
5
5
|
"author": "IceOnFire <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"react": "^19.1.1",
|
|
28
28
|
"react-dom": "^19.1.1",
|
|
29
29
|
"react-redux": "^9.2.0",
|
|
30
|
-
"@inglorious/engine": "
|
|
31
|
-
"@inglorious/utils": "3.6.
|
|
30
|
+
"@inglorious/engine": "5.0.0",
|
|
31
|
+
"@inglorious/utils": "3.6.1"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"react": "^19.1.1",
|
|
35
35
|
"react-dom": "^19.1.1",
|
|
36
36
|
"react-redux": "^9.2.0",
|
|
37
|
-
"@inglorious/engine": "
|
|
38
|
-
"@inglorious/utils": "3.6.
|
|
37
|
+
"@inglorious/engine": "5.0.0",
|
|
38
|
+
"@inglorious/utils": "3.6.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"eslint": "^9.34.0",
|
package/src/game/game.jsx
CHANGED
|
@@ -25,8 +25,8 @@ const Z = 2
|
|
|
25
25
|
|
|
26
26
|
export default function Game({ engine }) {
|
|
27
27
|
// NOTE: don't use simply engine.entities here: need to subscribe to animate scene!
|
|
28
|
-
const entities = useSelector((state) => state
|
|
29
|
-
// const entities = engine._store.getState()
|
|
28
|
+
const entities = useSelector((state) => state)
|
|
29
|
+
// const entities = engine._store.getState()
|
|
30
30
|
|
|
31
31
|
const types = engine._store.getTypes()
|
|
32
32
|
const { mouse, ...rest } = entities
|