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

View' cannot be used as a JSX component. Its return type 'ReactNode' is not a valid JSX element. #1059

Closed
522848942 opened this issue Sep 23, 2022 · 1 comment · Fixed by #1074
Labels
bug Something isn't working released

Comments

@522848942
Copy link

It happened when i use View in React18 + typescript project
image

here are the versions of the related packages:

    "@types/node": "^16.11.26",
    "@react-three/fiber": "^8.8.2",
    "@react-three/drei": "^9.32.0",
    "@types/react": "^18.0.21",
    "@types/react-dom": "^18.0.6",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",

Why it happened ? How to solve it ?

@github-actions
Copy link

github-actions bot commented Oct 4, 2022

🎉 This issue has been resolved in version 9.32.11 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant