DEV Community

Discussion on: 5 Things to do before making the build for Production. (React JS)

Collapse
 
atulbhattsystem32 profile image
Atul Bhatt

Can you please elaborate?

Collapse
 
arminops profile image
Armin Tor

For number 1. We don't want to log in our console in production. We can create a singleton service and check the environment before logging. By this we followed SRP too..

Thread Thread
 
atulbhattsystem32 profile image
Atul Bhatt

Nice one. Can you please write an article on it. Or maybe I'll do it when I'm done curating the other articles on my list 😃

Thread Thread
 
arminops profile image
Armin Tor

I'd love to, but am so busy these days... I'm sure you'll write a good one until i want to start :)))