You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
I was planning to turn this into an AST transform at some point instead of a plain old replace and that would allow me to actually KNOW where the console log is, until then I could add a flag that allows you to disable colors but that would disable it in the server logs as well unfortunately
Good evening again!
I understand... and I think this can be perfectly suitable for users who would find themselves confronted with this kind of problem.
To tell you the truth, I had not even imagined that you could keep the colors on the server side and remove them on the browser side.
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
react-router-devtools version: 1.0.5
firefox version: 133 (Linux)
The text was updated successfully, but these errors were encountered: