Yes, views do matter, but if you are not an utterly boring person you have variety of them and your similarly interesting friends also have a variety. If you fully exposed the entire variety of your respective views to each other you wouldn't be friends with most people you know.
I don’t think that’s true. Most people are willing to extend a good bit of grace, especially if there’s already a relationship worth preserving.
As in, if I just met someone and I know nothing about them other than they don’t like unions then we probably won’t be friends but if that came up later I’m not going to blow up a year of friendship over something like that.
OTOH if a friend started preaching white supremacy that would do it but I’d give a good shot to talking them out of it first.