I recently asked a coworker why a certain check was being done, and he answered with a shrug and said, “Just to be safe.” Over my career, I’ve seen a lot of code written just to be safe. I’ve written…
https://medium.com/@cvitullo/overly-defensive-programming-e7a1b3d234c2
* axios documentation * I’ve set up a code sandbox * a 2–4x boost