Releases: pmndrs/react-three-fiber
Releases Β· pmndrs/react-three-fiber
v8.6.1
What's Changed
- chore(docs): fix typo, changed "id" to "i" by @Johnrobmiller in #2458
- chore(docs): update RootState section by @CodyJasonBennett in #2473
- fix(core): don't append to unmounted containers by @CodyJasonBennett in #2472
New Contributors
- @Johnrobmiller made their first contribution in #2458
Full Changelog: v8.6.0...v8.6.1
v8.6.0
What's Changed
Full Changelog: v8.5.1...v8.6.0
v8.5.1
What's Changed
- fix(core): null-check instance.children on reconstruct by @CodyJasonBennett in #2454
Full Changelog: v8.5.0...v8.5.1
v8.5.0
What's Changed
- docs: remove usage of *BufferGeometry by @CodyJasonBennett in #2442
- docs: fix link for three js fundamentals by @michaelbayday in #2444
- feat(core): check instanceof for auto-attach by @CodyJasonBennett in #2453
- fix(core): handle primitive children on reconstruct by @CodyJasonBennett in #2452
New Contributors
- @michaelbayday made their first contribution in #2444
Full Changelog: v8.3.1...v8.5.0
v8.3.1
What's Changed
- fix(types): accept readonly arrays for vector props by @kmannislands in #2428
Full Changelog: v8.3.0...v8.3.1
v8.3.0
What's Changed
- feat: improve errors by @lukekugelman in #2394
New Contributors
- @lukekugelman made their first contribution in #2394
Full Changelog: v8.2.3...v8.3.0
v8.2.3
What's Changed
- chore(docs): replace IntrinsicElements with ThreeElements by @bart-krakowski in #2393
- chore: check lint in ci by @kmannislands in #2420
- fix: compute initial size createRoot by @kmannislands in #2406
- fix(types): add manager to useLoader signature by @miker2049 in #2421
New Contributors
- @miker2049 made their first contribution in #2421
Full Changelog: v8.2.2...v8.2.3
v8.2.2
What's Changed
- chore(docs): fix typo by @alexrider94 in #2384
- chore(docs): fix typo in useLoader example by @inokawa in #2385
- chore(tests): tests typecheck by @bart-krakowski in #2375
- fix(renderer): warn on text instance, null check on instance create by @CodyJasonBennett in #2395
New Contributors
- @alexrider94 made their first contribution in #2384
Full Changelog: v8.2.1...v8.2.2
v8.2.1
What's Changed
- fix: use useLayoutEffect in native by @CodyJasonBennett in #2376
Full Changelog: v8.2.0...v8.2.1
v8.2.0
What's Changed
- refactor: renderer update by @bart-krakowski in #2360
- feat: expose ThreeElements interface by @AndrewPrifer in #2347
This release exposes a ThreeElements
interface containing native three JSX elements to discern from DOM JSX types.
import type { ThreeElements } from '@react-three/fiber'
function Mesh(props: ThreeElements['mesh']) {
return <mesh {...props} />
}
Extending JSX.IntrinsicElements
is deprecated in favor of extending ThreeElements
directly with the following:
declare module '@react-three/fiber' {
interface ThreeElements {
myMesh: Object3DNode<MyMesh, typeof MyMesh>
}
}
New Contributors
- @bart-krakowski made their first contribution in #2360
- @AndrewPrifer made their first contribution in #2347
Full Changelog: v8.1.0...v8.2.0