As someone approaching 30, but with very clear memory of their mdi-to-late teens, I will disagree. I did not pursue any of the "shallow" things in high school and I do not at all regret that.
I had only a few high school friends, I neither attended prom nor anther school-related party, never joined a sport-team[1]. Fast forward 11-15 years I have great friends (only a handful of whom were my classmates), am engaged to a wonderful woman, and have no dearth of hobbies.
What do I think was most important? Learning, pursuing things that were interesting to me and cultivating a passion for them (note how so many people are in a quixotic search for pre-existing passions, i.e., in a quarter-life crisis?), interacting with older individuals (they took me seriously, did not make fun of the way I dressed, did not mock my accent or my lastname, did not beat and otherwise bully me, etc...), taking AP classes as well as classes at near-by colleges (the last two activities opened my eyes to new subjects, taught me to learn, and convinced me to pursue a higher education), etc...
I regret not paying enough attention to academic subjects that I _thought_ did not interest me (in college, it turned out that they interested me a great deal), assuming that I had no chance of getting into certain colleges or paying for them, not cultivating an interest in topics like philosophy or history early enough (sticking to just computing, etc...), not participating in "nerdy" clubs (like robotics, programming competitions, etc...)
Yet on the "social" front I've zero regrets: it is much easier to make friends when you've got more in common with people then a school district boundary; dating is much easier when you're independent (not living with your parents, not reliant on a group of friends for all of your social outings), well read, educated (whether formally or self-taught), and otherwise interesting. I don't feel I've missed anything by foregoing that part of life.
[1] Caveat: if you do enjoy a sport, by all means join a sport team or play intramurally. Just don't play a sport for the sake of playing a sport or for a college resume (universities want well rounded student bodies, but they don't necessarily require that every student be "well rounded").