You could also disable console.log in production?
console.log = function() {}
Yes you can also define simple logic in app/root file and make console.log func to empty function, thanks for this suggestion.
Ideally, you would use eslint to highlight them all. Then, before accepting the changes, go and remove them.
sorry didn't get your point
Don't let console.log make it to production. Edit them out. eslint can read the code and warn you
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You could also disable console.log in production?
Yes you can also define simple logic in app/root file and make console.log func to empty function, thanks for this suggestion.
Ideally, you would use eslint to highlight them all. Then, before accepting the changes, go and remove them.
sorry didn't get your point
Don't let console.log make it to production. Edit them out. eslint can read the code and warn you