TanStack / TanStack/devtools

Triggers R3F error on soft navigation

未关闭
#276 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
TypeScript
星标
499
派生
100
平均合并
1 天 17 小时
30 天内合并 PR
4

描述

TanStack Devtools version

v5.91.1

Framework/Library version

19.2.0

Describe the bug and the steps to reproduce it
  1. Click "/duck" link
  2. Click "/index" link
  3. Click "/duck" link
  4. Get error: R3F: Cannot set "data-tsd-source". Ensure it is an object before setting "tsd-source".
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

https://github.com/akhmadshin/tanstack-router-r3f

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

None

Terms & Code of Conduct
  • I agree to follow this project's Code of Conduct
  • I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

https://github.com/akhmadshin/tanstack-router-r3f 中链接的最小可复现示例开始,重现 /duck → /index → /duck 的软导航序列。跟踪最终导航期间的 R3F "data-tsd-source" 错误;当该序列在没有错误的情况下完成时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
react, typescript
领域
frontend, tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。