Well I’d say something like religion would matter a lot because it determines your interests, culture, outlook on life, and how you want to raise your kids.
Race really wouldn’t matter, but I think most people have their preferences and that’s fine so long as you aren’t disrespectful about it. There are some things people should just keep to themselves.