`useRive` returned component renders nothing
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- react, typescript
- 领域
- frontend
调研方向
Start with the linked CodeSandbox reproduction and compare the basic package component export with the useRive path. Trace the useRive entry point and observe why the returned component produces an empty canvas. Done means the reproduced useRive example renders the Rive content rather than an empty canvas.
由索引模型根据 Issue 内容生成。
描述
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 from useRive 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.
- 主要语言
- TypeScript
- 星标
- 1.2k
- 派生
- 58
- 平均合并
- 2 小时 55 分钟
- 30 天内合并 PR
- 7
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
rive-app/rive-react 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 38/100
rive-app/rive-react#410 · 1 条评论 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 42/100
rive-app/rive-react#409 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 30/100
rive-app/rive-react#400 ·
-
triage
难度 3/5 1-2 天 新手友好度 45/100
rive-app/rive-react#392 ·
-
triage
难度 1/5 1 小时以内 新手友好度 55/100
rive-app/rive-react#386 · 1 个 reaction ·
查看 rive-app/rive-react 的全部 Issue
相似的 Issue
-
bug via-triage
难度 2/5 1-3 小时 新手友好度 78/100
pingdotgg/t3code#14452 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
solana-foundation/program-examples#747 · 1 条评论 ·
维护者通常 9 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
remotion-dev/remotion#11847 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
openwatersio/slackwater#355 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 74/100
melgarafael/DeskcommCRM#1998 · 3 条评论 ·
维护者通常 1 天内回复