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

be able to disable colors for browser console.log

Đang mở
#169 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
972
Fork
55
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.