Skip to content

Releases: pmndrs/react-three-fiber

v8.8.3

25 Sep 21:08
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.8.2...v8.8.3

v8.8.2

22 Sep 18:02
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.8.1...v8.8.2

v8.8.1

21 Sep 19:09
Compare
Choose a tag to compare

What's Changed

No changes in this release.

Full Changelog: v8.8.0...v8.8.1

v8.8.0

21 Sep 15:21
Compare
Choose a tag to compare

What's Changed

This release implements a context bridge within Canvas, enabling R3F children to consume context between renderers (e.g. react-dom or react-native), and removing the need for manually bridging context.

import * as React from 'react'
import * as ReactDOM from 'react-dom/client'
import { Canvas } from '@react-three/fiber'

const DOMContext = React.createContext()

function Component() {
  // "Hello from react-dom"
  console.log(React.useContext(DOMContext))
}

ReactDOM.createRoot(document.getElementById('root')).render(
  <DOMContext.Provider value="Hello from react-dom">
    <Canvas>
      <Component />
    </Canvas>
  </DOMContext.Provider>,
)

Full Changelog: v8.7.4...v8.8.0

v8.7.4

15 Sep 00:22
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v8.7.2...v8.7.4

v8.7.3

13 Sep 09:15
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.7.2...v8.7.3

v8.7.2

13 Sep 09:12
Compare
Choose a tag to compare

What's Changed

  • fix: events in portals carry the wrong raycaster, camera, etc by @drcmda in 24cb1cf

Full Changelog: v8.7.1...v8.7.2

v8.7.1

06 Sep 07:34
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.7.0...v8.7.1

v8.7.0

04 Sep 17:46
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.6.2...v8.7.0

v8.6.2

01 Sep 06:43
Compare
Choose a tag to compare

What's Changed

Full Changelog: v8.6.1...v8.6.2