Know that you don’t know something
Repeat after me: Things will continue to change
One thing is sure: web development is constantly changing. Rest assured that what’s hot today may become obsolete tomorrow or three years from now. Therefore, the sooner you accept that thing will keep changing, the further you will be from an emotional breakdown.
Everything is valuable
So you’ve chosen to spend your time on a certain framework, but you keep asking yourself if it is just a waste of time or it will eventually come in handy. In web development, there is no such thing as the right one; there’s the ‘now’ one and the ‘alright’ one but never the ‘perfect’ one. In this case, what you need to do is stop being anxious about finding the right framework and accept that everything will prove useful at a certain point. If you accept that your object of interest will come in handy, it automatically becomes a fun thing to explore.
Are you good at learning and solving problems?
Rich Hickey, the creator of Clojure, opined that “programming mastery has little to do with languages, paradigms, platforms, building blocks, open source, conferences etc. These things change all the time and are not fundamental. Knowledge acquisition skills allow you to grok them as needed. I’d take a developer (or even non-developer!) with deep knowledge acquisition and problem solving skills over a programmer with a smorgasbord of shallow experiences any day.”
In short, it is more important to know how to learn and acquire problem solving skills than to learn new frameworks because if you choose the first path, you will not have problems picking up new technology skills.