What is worth investing your time into depends on your personal goals and preferences. Are you looking to get a job? Then I think you should learn frameworks that companies you want to work for use. Check their job description, they usually list it there. You might also want to look into the Stack Overflow Developer Survey to get a sense what is popular these days.
When it comes to learning, I agree with others who have replied in this thread: start figuring out what you want to make, and then learn by coding that specific thing.
But how to figure out what to make? One idea is to think about what service you use today and look if they have an API you could use to improve that service. A post with inspiration for what to code integrating against APIs