code-forge-io / code-forge-io/react-router-devtools
console.log in template literals are also modifie by server logging
- 主要語言
- TypeScript
- 星號
- 972
- 分支
- 55
- PR 合併指標
- 30 天內沒有已合併 PR
描述
It took me a while to understand why some code snippets in my apps with console logs started displaying some weird console.log output.
RRD seems to pick any console.log while enhancing logs, so any code snippets with `console.*` inside as well
Here [an example](https://codesandbox.io/p/devbox/qzydx4?file=%2Fapp%2Fwelcome%2Fwelcome.tsx%3A14%2C15)
I am not sure of a simple way to differentiate `console.log` in the code from `console.log` rendered in a child.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
從連結的 CodeSandbox 範例開始,特別是 app/welcome/welcome.tsx 的第 14–15 行,並追蹤伺服器記錄如何處理轉譯子內容中的 console.log 文字。當包含 console.* 的程式碼片段不再接受伺服器記錄修改,同時真正的應用程式記錄仍持續獲得增強時,即表示完成;該 issue 未指定測試檔案。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- react, typescript
- 領域
- devtools
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100