-
Notifications
You must be signed in to change notification settings - Fork 38
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
useRive
returned component renders nothing
#321
Comments
t0rbik
changed the title
Dec 23, 2024
useRive
returns nothinguseRive
returned component renders nothing
I've tried with React 18 also. Still rendering nothing "dependencies": {
"@nextui-org/react": "^2.6.11",
"@react-three/drei": "^9.120.5",
"@react-three/fiber": "^8.17.10",
"@rive-app/react-canvas-lite": "^4.17.5",
"canvas-confetti": "^1.9.3",
"motion": "^11.15.0",
"next": "15.1.3",
"next-themes": "^0.4.4",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-icons": "^5.4.0",
"tailwind-merge": "^2.6.0",
"tailwindcss-animate": "^1.0.7",
"three": "^0.172.0"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@next/eslint-plugin-next": "^15.1.3",
"@types/node": "^20",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^8.19.0",
"@typescript-eslint/parser": "^8.19.0",
"clsx": "^2.1.1",
"eslint": "^9.17.0",
"eslint-config-next": "^15.1.3",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-react": "^7.37.3",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"postcss": "^8",
"prettier": "^3.4.2",
"prettier-plugin-tailwindcss": "^0.6.9",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When we use the basic React example by using default package component export, it renders successfully.
However, changing logic to use
useRive
causes component, returned fromuseRive
to render empty<canvas>
.Platform: MacOS 15.1, M2, Arc 1.74.0
Reproduction: https://codesandbox.io/p/sandbox/r5wj5x.
Found similar issue #36, but it was closed and there was no reproduction.
The text was updated successfully, but these errors were encountered: