To stay relevant in today's market, you're probably better off learning Angular, React, or Vue.
I'm a React guy myself. I've been on the market for a new job since last summer and React is definitively hot at the moment. For what it's worth, I'm into NextJS these days, which is a React framework, and it is an absolute pleasure to work with. Hashnode is build using NextJS.
That being said, at the end of the day, learn vanilla javascript. Pick one of these front-end technologies to do it but make sure your end goal is to learn javascript and not any one framework/library in particular.
Also note the distinction between framework and library. This might influence your decision.