@react-three/fiber 9.7.0 → 9.8.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/CHANGELOG.md +27 -0
- package/dist/declarations/react-reconciler/index.d.ts +30 -13
- package/dist/declarations/src/core/index.d.ts +1 -0
- package/dist/declarations/src/core/promise.d.ts +15 -0
- package/dist/declarations/src/core/reconciler.d.ts +4 -0
- package/dist/declarations/src/core/renderer.d.ts +4 -2
- package/dist/declarations/src/core/utils.d.ts +3 -0
- package/dist/declarations/src/native/Canvas.d.ts +1 -1
- package/dist/declarations/src/web/Canvas.d.ts +2 -2
- package/dist/{events-156d8d12.esm.js → events-803f4abc.esm.js} +7745 -6524
- package/dist/{events-4c71f21f.cjs.prod.js → events-a79ef12b.cjs.prod.js} +3330 -2690
- package/dist/{events-b1bdeb1a.cjs.dev.js → events-ce5e34e8.cjs.dev.js} +7745 -6523
- package/dist/react-three-fiber.cjs.dev.js +58 -40
- package/dist/react-three-fiber.cjs.prod.js +58 -40
- package/dist/react-three-fiber.esm.js +60 -42
- package/native/dist/react-three-fiber-native.cjs.dev.js +46 -40
- package/native/dist/react-three-fiber-native.cjs.prod.js +46 -40
- package/native/dist/react-three-fiber-native.esm.js +47 -41
- package/package.json +6 -6
- package/react-reconciler/index.d.ts +30 -13
- package/react-reconciler/index.js +79 -77
- package/readme.md +1 -1
package/readme.md
CHANGED
|
@@ -203,7 +203,7 @@ Visit [docs.pmnd.rs](https://docs.pmnd.rs/react-three-fiber)
|
|
|
203
203
|
|
|
204
204
|
You need to be versed in both React and Threejs before rushing into this. If you are unsure about React consult the official [React docs](https://react.dev/learn), especially [the section about hooks](https://react.dev/reference/react). As for Threejs, make sure you at least glance over the following links:
|
|
205
205
|
|
|
206
|
-
1. Make sure you have a [basic grasp of Threejs](https://threejs.org/
|
|
206
|
+
1. Make sure you have a [basic grasp of Threejs](https://threejs.org/manual/#en/creating-a-scene). Keep that site open.
|
|
207
207
|
2. When you know what a scene is, a camera, mesh, geometry, material, fork the [demo above](https://github.com/pmndrs/react-three-fiber#what-does-it-look-like).
|
|
208
208
|
3. [Look up](https://threejs.org/docs/index.html#api/en/objects/Mesh) the JSX elements that you see (mesh, ambientLight, etc), _all_ threejs exports are native to three-fiber.
|
|
209
209
|
4. Try changing some values, scroll through our [API](https://docs.pmnd.rs/react-three-fiber/API) to see what the various settings and hooks do.
|