You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to React 19, it started giving an error "Property *** does not exist on type JSX.IntrinsicElements" for components react-three-fiber.
import { Canvas } from '@react-three/fiber'
export default function App() {
return (
<div>
<Canvas>
<mesh> {/* Property mesh does not exist on type JSX.IntrinsicElements */}
<boxGeometry /> {/* Property boxGeometry does not exist on type JSX.IntrinsicElements */}
<meshStandardMaterial /> {/* Property meshStandardMaterial does not exist on type JSX.IntrinsicElements */}
</mesh> {/* Property mesh does not exist on type JSX.IntrinsicElements */}
</Canvas>
</div>
);
}
The text was updated successfully, but these errors were encountered:
SrPumpkin
changed the title
Property mesh does not exist on type JSX.IntrinsicElements
Property *** does not exist on type JSX.IntrinsicElements
Dec 26, 2024
After upgrading to React 19, it started giving an error "Property *** does not exist on type JSX.IntrinsicElements" for components react-three-fiber.
The text was updated successfully, but these errors were encountered: