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

be able to disable colors for browser console.log

Aperta
#169 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
972
Fork
55
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi !

a little suggestion for firefox users...

Logs with colors improve readability and are therefore relevant when they appear in the server-side terminal. However, when this same code is executed on the browser side and the browser does not support colors (Firefox), the developer experience is degraded. Would it be possible to implement an option to disable colors for code written on the browser side?

[better-console-logs](https://github.com/forge42dev/react-router-devtools/blob/1b57656ec96f4fa9858242ece2a1088da3b87487/src/vite/plugin.tsx#L232)

react-router-devtools version: 1.0.5
firefox version: 133 (Linux)

![log](https://github.com/user-attachments/assets/4197a9fb-8026-46a9-b210-7a8850434093)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.