Life is too short to waste on things that are ephemeral. Technologies come and go, you should really be picky about what you invest your time in.

Skills that are worth your time need to be both spatially and temporally scalable, in the sense that they are transferable to other domains and can survive a long time.

The lindy effect states that the life expectancy of a technology or an idea is proportional to their current age, so if something has lived 30 years, it has a high probability continue to do so.

Maybe investing more of your time in C rather than a new javascript framework can pay dividends in the long run. or maybe it would be wise to always Choose Boring Technology