-
Notifications
You must be signed in to change notification settings - Fork 68
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
貌似不支持 react server component #165
Comments
@Bubbleinpit 部分代码放到 https://stackblitz.com 上来给个复现环境? |
@zthxxx 在 stackblitz 上新建了一个 nextjs 项目引入,可以复现:https://stackblitz.com/edit/stackblitz-starters-ytcgzk?file=app%2Fpage.tsx |
看起来是因为 Next.js 没有为 server-side component 生成 debugSource 到 hydrate 过程,看起来需要 Next.js 解决 |
看起来无解了 |
refer this lib https://github.com/zh-lx/code-inspector
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在 nextjs 13 中使用,将
<Inspector />
作为 client component 引入根组件layout.tsx
。发现所有 client component 都可以正常识别并跳转,而 server component 将会被识别成最近父节点的 client component。The text was updated successfully, but these errors were encountered: