Skip to content

Releases: pmndrs/react-three-fiber

v8.6.1

01 Sep 06:30
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.6.0...v8.6.1

v8.6.0

22 Aug 19:29
Compare
Choose a tag to compare

What's Changed

  • feat: eventsource and eventprefix on the canvas component by @drcmda in fbce5f9

Full Changelog: v8.5.1...v8.6.0

v8.5.1

22 Aug 11:35
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.5.0...v8.5.1

v8.5.0

21 Aug 18:46
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.3.1...v8.5.0

v8.3.1

08 Aug 23:21
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.3.0...v8.3.1

v8.3.0

04 Aug 19:27
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.2.3...v8.3.0

v8.2.3

04 Aug 19:17
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.2.2...v8.2.3

v8.2.2

26 Jul 14:22
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.2.1...v8.2.2

v8.2.1

22 Jul 19:25
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.2.0...v8.2.1

v8.2.0

14 Jul 09:21
Compare
Choose a tag to compare

What's Changed

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

Full Changelog: v8.1.0...v8.2.0