The trends in frontend development are making it hard to build products that will still be around in 5 or 10 years.
The frontend framework or build toolchain that you pick for your job today is likely to be deprecated and affected by countless breaking changes already in 6 months - let alone survive the next 10 years.
It sounds like frontend development has become this eternal “let’s rewrite everything” black hole of wastefulness, fed by a toxic market made of useless influencers, useless conferences, useless certifications and useless developers who have made a certain framework part of their identity, and whenever they join a new job their only contribution is “I see that you use X for your frontend - can we rewrite all with Y?”
If you have to pick a frontend framework, pick one and stick with it. Master it inside out. Resist any push to change. Success is defined by the usefulness of your final product, not by choosing Vue 3 + Vite, React with Remix, Svelte or Apollo CLI, nor by your ability to stay up-to-date with whatever new trend or useless abstraction the frontend parasites have thrown in the cogs of our industry just to make a bit more money out of courses and conferences. Nor by your ability to attract frontend developers who master the new shiny thing. A developer is first of all a problem solver who is able to solve problems regardless of the tools - it could also be vanilla JS or jQuery. Those who can only solve problems with a specific configuration of dependencies and frameworks are fanboys, not developers.