If someone's willing to try new things then it doesn't matter if you share the same interests on the front end. If they're not then yeah it matters (especially for people with finite spare time); you might roll that up into "basic values" though, I don't know.
Since I think all the replies are talking about the same person, she's been upfront that she literally does not like the things I'm into and will never go to anything I do with my friends. Like I think that's kinda a deal breaker. I'm up to learn dancing or surf lessons are whatever.
Any while I agree on personalities, at 37 I've done enough dating with enough people to notice that if there isn't a single thing in common, it's not going anywhere. Like people in general are usually into about a dozen different interests in life. I find I click the most when there is at least one crossing interest. Like that gal I described above who I met in London. She's super religious and for 99% of things we have nothing in common, but we had an amazing day (and she said so as well) that we spent together doing things non-stop and have been talking ever since. But the point that actually got us connecting after initial shallow chit-chat was when I asked her about her DSLR and we started talking about photography and we really connected. I need one thing in common with someone to open up a deeper connection, which is what I've noticed over the decades.
Unless you just think each other are hot and wanna fuck, but that's really not my thing.