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: Correct JSX module augmentation for React 19 types #3258

Closed eps1lon closed 6 months ago

eps1lon commented 6 months ago

Based on https://github.com/pmndrs/react-three-fiber/pull/3256

The global JSX namespace type is already deprecated in 18 and is removed in 19. This updates all types to use the scoped version.

codesandbox-ci[bot] commented 6 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 8c321249ae711edcb4c6890c2ba99e8521849261:

Sandbox Source
example Configuration