I am working on React app with couple of other developers. And you know it, you need this component, that functionality, etc. so you google it, install the package and the work is done. Is it ok to work like this? Do you even know what exactly you added to your project and do you really need it?
If you are working on a project, you sure use open source projects, libraries and frameworks. All these stuff helps you build something amazing and do it faster. And also you know what a good feeling it is, when someone write a good review or give your fan page like. So do the same.
You are creating an application that shows data to the user - doesn't matter if he is searching for some specific thing or he is only listing everything you have. What happens if the server responds with empty array? Or with error? Will your application show only empty space or an error message?
For a long time I didn't know that even writing commit message can have its own "best practices". When I got in touch with git for the first time, this part was described with words like "...and here you can write something short about what's going on in the commit".
We all know a lot of jokes about comments and why not to write them. Even many articles suggest not to write comments. Why is that so?
I came on a project where the whole team left and now they hired me and two other developers. The project is one big mystery and there are only few people in the c...