DEV Community

Discussion on: Console.log Development vs Production

Collapse
lukeocodes profile image
@lukeocodes πŸ•ΉπŸ‘¨β€πŸ’»

Ideally, you would use eslint to highlight them all. Then, before accepting the changes, go and remove them.

Thread Thread
zainbinfurqan profile image
Zain Ahmed Author

sorry didn't get your point

Thread Thread
lukeocodes profile image
@lukeocodes πŸ•ΉπŸ‘¨β€πŸ’»

Don't let console.log make it to production. Edit them out. eslint can read the code and warn you