TanStack / TanStack/devtools

Hydration issue on tanstack start

未关闭
#189 6 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

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

描述

TanStack Devtools version

Latest

Framework/Library version

Latest

Describe the bug and the steps to reproduce it

I had to turn off the injectSource flag otherwise I get hydration issues on tanstack start

Image
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)

See Image

Screenshots or Videos (Optional)

See Image

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 编号。

调研方向

首先,在启用 injectSource 标志的情况下于 TanStack Start 中重现该问题,并以屏幕截图和报告的 hydration 失败作为初始参考。跟踪 devtools 的源代码注入入口点,并比较服务器渲染的输出与客户端渲染的输出;当 hydration 能够完成且不需要禁用 injectSource 时,即表示完成。

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

评估

技术栈
typescript
领域
frontend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

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