What path should I take, JS and React, or Dart and Flutter

I am a competitive programmer who is still in high school and is looking to get into the world of web and app development. I know a good amount of C++, data structures and algorithms as a competitive programmer but my knowledge in web dev is very limited, in fact I have never used javascript before, just did a bit of html and css.

I want to pick up both web and app development, I am mainly interested in flutter and react. Flutter will be easier to learn as dart is similar to Java and other languages I used before and has an edge in performance, but I think not learning JS might be a bit restricting in the world of web and app dev. So my question is should I pick up JS and React or Dart and flutter for my long term benefit? Thanks so much in advance.

Source: Ask Javascript Questions