@react-three/fiber 10.0.0-canary.2c50459 → 10.0.0-canary.4bc4a97
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/dist/index.cjs +2247 -2004
- package/dist/index.d.cts +71 -35
- package/dist/index.d.mts +71 -35
- package/dist/index.d.ts +71 -35
- package/dist/index.mjs +2250 -2007
- package/dist/legacy.cjs +2282 -2039
- package/dist/legacy.d.cts +71 -34
- package/dist/legacy.d.mts +71 -34
- package/dist/legacy.d.ts +71 -34
- package/dist/legacy.mjs +2284 -2041
- package/dist/webgpu/index.cjs +2615 -2613
- package/dist/webgpu/index.d.cts +105 -39
- package/dist/webgpu/index.d.mts +105 -39
- package/dist/webgpu/index.d.ts +105 -39
- package/dist/webgpu/index.mjs +2618 -2616
- package/package.json +5 -5
- package/readme.md +1 -2
- package/react-reconciler/constants.d.ts +0 -7
- package/react-reconciler/constants.js +0 -1
- package/react-reconciler/index.d.ts +0 -1044
- package/react-reconciler/index.js +0 -208
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-three/fiber",
|
|
3
|
-
"version": "10.0.0-canary.
|
|
3
|
+
"version": "10.0.0-canary.4bc4a97",
|
|
4
4
|
"description": "A React renderer for Threejs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
"sideEffects": false,
|
|
36
36
|
"files": [
|
|
37
37
|
"dist",
|
|
38
|
-
"react-reconciler",
|
|
39
38
|
"readme.md"
|
|
40
39
|
],
|
|
41
40
|
"exports": {
|
|
@@ -53,7 +52,8 @@
|
|
|
53
52
|
"types": "./dist/webgpu/index.d.ts",
|
|
54
53
|
"import": "./dist/webgpu/index.mjs",
|
|
55
54
|
"require": "./dist/webgpu/index.cjs"
|
|
56
|
-
}
|
|
55
|
+
},
|
|
56
|
+
"./package.json": "./package.json"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@babel/runtime": "^7.28.6",
|
|
@@ -69,14 +69,14 @@
|
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@types/react-reconciler": "^0.32.3",
|
|
72
|
-
"@types/three": "^0.
|
|
72
|
+
"@types/three": "^0.185.0",
|
|
73
73
|
"@types/webxr": "*",
|
|
74
74
|
"react-reconciler": "^0.33.0"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
77
|
"react": ">=19.0 <19.3",
|
|
78
78
|
"react-dom": ">=19.0 <19.3",
|
|
79
|
-
"three": ">=0.
|
|
79
|
+
"three": ">=0.185.0"
|
|
80
80
|
},
|
|
81
81
|
"peerDependenciesMeta": {
|
|
82
82
|
"react-dom": {
|
package/readme.md
CHANGED
|
@@ -136,7 +136,6 @@ createRoot(document.getElementById('root') as HTMLElement).render(
|
|
|
136
136
|
)
|
|
137
137
|
```
|
|
138
138
|
|
|
139
|
-
TODO: Move this
|
|
140
139
|
Live demo: https://codesandbox.io/s/icy-tree-brnsm?file=/src/App.tsx
|
|
141
140
|
|
|
142
141
|
</details>
|
|
@@ -144,7 +143,7 @@ Live demo: https://codesandbox.io/s/icy-tree-brnsm?file=/src/App.tsx
|
|
|
144
143
|
<details>
|
|
145
144
|
<summary>Show React Native example</summary>
|
|
146
145
|
|
|
147
|
-
This example
|
|
146
|
+
This example uses `expo-cli`, but you can create a bare project with their template or with the `react-native` CLI.
|
|
148
147
|
|
|
149
148
|
```bash
|
|
150
149
|
# Install expo-cli, this will create our app
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export const DiscreteEventPriority = 0b0000000000000000000000000000001;
|
|
2
|
-
export const ContinuousEventPriority = 0b0000000000000000000000000000100;
|
|
3
|
-
export const DefaultEventPriority = 0b0000000000000000000000000010000;
|
|
4
|
-
export const IdleEventPriority = 0b0100000000000000000000000000000;
|
|
5
|
-
export const LegacyRoot = 0;
|
|
6
|
-
export const ConcurrentRoot = 1;
|
|
7
|
-
export const NoEventPriority = 0;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const t=1,o=8,r=32,e=2,i=268435456,n=0,s=0;export{t as ConcurrentRoot,o as ContinuousEventPriority,r as DefaultEventPriority,e as DiscreteEventPriority,i as IdleEventPriority,n as LegacyRoot,s as NoEventPriority};
|