code-forge-io / code-forge-io/react-router-devtools

console.log in template literals are also modifie by server logging

Open
#220 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
972
Forks
55
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.