With the tech moving and evolving so fast, every few years, evaluate the work you are doing vs what the world is doing. Do not let the gap widen.
Ask yourself if your current projects are building skills or knowledge that align with where the world is moving. Are you solving problems that matter, or are you stuck in areas becoming less relevant? Staying proactive in bridging these gaps will keep you relevant.
This does not mean you keep switching domains; yesterday you were doing web3, today you picked AI, and tomorrow you jump to Quantum Computing.
Never switch your domain due to hype; always make an informed decision considering your aspirations and more importantly, your abilities. Switch to something you can do well but only when the field is stable enough or you have a high appetite for risk.
Remember, in the long run, we all are optimizing for impact, financial reward, and longevity of our careers.