Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Property *** does not exist on type JSX.IntrinsicElements #3421

Open
SrPumpkin opened this issue Dec 26, 2024 · 1 comment
Open

Property *** does not exist on type JSX.IntrinsicElements #3421

SrPumpkin opened this issue Dec 26, 2024 · 1 comment

Comments

@SrPumpkin
Copy link

SrPumpkin commented 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.

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>
  );
}
@SrPumpkin SrPumpkin changed the title Property mesh does not exist on type JSX.IntrinsicElements Property *** does not exist on type JSX.IntrinsicElements Dec 26, 2024
@DarhkVoyd
Copy link

Duplicate of #3385
Suggested Fix: #3385 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants