Maybe I'm an outlier here but I moved into front end to steer products and the resultant architecture into making sense from the incomplete or contradictory "requirements" we got from product and even UX. I've been doing this for over 20 years and every company has needed good engineers to make the product a logical reality.
LLMs piping out UIs from PM prompts aren't solving that imho.
I'm a backend engineer working closely with a single frontend guy on an internal app and after creating a pr in his repo, it was immediately clear that AI can build some nice brochure sites, but UI state management, clean UX, good performance and API dispatch handling still require you to know what your doing for things to work well.
I think that frontend devs merely have to move from debating their frameworks to focusing more on user problems, maintainability, performance etc. but that is every dev right now...
I spent 2 years developing and polishing a front end web application, and then some other engineers at my company pointed Claude at it to try to reproduce it. The slop it crapped out would make most if not all our users leave for the competition. Then they had the nerve to ask me to explain what was bad about the sloppified version. I'm looking for a new job.
LLMs piping out UIs from PM prompts aren't solving that imho.