I wish this article were about JavaScript or REACT but this article isn't about code, it is about the coder. Good code is quite easy to spot. It's beauty is NOT in the eyes of the beholder! Efficiency also, is something that can be tested and compared by using the Big(O). These are all empirical rather than subjective things. Let's face it: writing code is interesting work...but it isn't easy not by a long shot! Your head has to be in the right place, consistently. Everyone knows the stereotype of the coder who has no time left for friends and family. However, the last thing you want to do in your little "Quality time", is to take the frustration of the bug that you couldn't catch at work and transfer aggression unto your loved ones.
There is a concept I learned about in NLP; it's about goal setting. You are a smartass! I know this because you are into software development. You have heard about S.M.A.R.T goalsetting: Specific, Measurable, Achievable, Realistic, Time bound. You probably NEVER studied neuro-linguistic programming though. It's not exactly the kind of thing that's essential to landing a million-dollar gig.
There is an additional attribute in goal setting, that is actually MORE important. You guessed it: Ecological Soundness. This is the idea that whatever goal you are striving for does not threaten the stability of already established achievements. Don't get mad when your code fails...don't pound the PC with an angry fist or you will create an additional (hardware) problem. This is ecological soundness. Don't lose your health in pursuit of riches: this is ecological soundness. Ideally, you should maintain a sound body and mind as you achieve your material goals, not trade one for the other.
So, while you are Learning at the speed of thought, take time to breathe in the air, watch the sun rise and set, laugh with a friend, take a walk in Nature and tickle a baby (even if it isn't yours). Your brain needs those regular cocktails of Oxytocin and Serotonin to balance out the Cortisol of stress and the dopamine of discovery. A healthy brain simulates a healthy experience and all of that Quality time will translate to more Quality Code with less stress. Enjoy the flow.