I think it’s more worthwhile to invest your time in a JavaScript framework for front end if your goal is to be a valuable full stack engineer.
The stack overflow yearly survey is actually a good place to see what languages/technologies are being adopted by people and companies.
In my personal opinion, it makes sense to let that guide what is worth learning.
https://survey.stackoverflow.co/2024/technology/
That being said, I’m primarily a backend developer and I’ve started to dip my toes into front end with sveltekit, and I actually like it so far! https://svelte.dev/tutorial/kit/introducing-sveltekit