pmndrs / react-three-fiber

🇨🇭 A React renderer for Three.js
https://docs.pmnd.rs/react-three-fiber
MIT License
27.62k stars 1.6k forks source link

fix(types): revert usage of future module JSX #3276

Closed CodyJasonBennett closed 5 months ago

CodyJasonBennett commented 5 months ago

Fixes #3270.

Reverts #3258 which relied on latest 18 types which is a breaking change (we actually support older versions, unlike DefinitelyTyped). These are still applied in v9 which supports React 19.

codesandbox-ci[bot] commented 5 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit e613ccc16f6974b886fc4dc25da075dd1cdb0cad:

Sandbox Source
example Configuration