TBF sticker shock isn't just for salaries. When I started looking at private health insurance in Ireland I kept double-checking to make sure they weren't quoting weekly rates or similar; I couldn't believe how cheap it was. Similarly, the cost of living is much more than it used to be, but SV dwarfs Dublin (and most other places) for COL.
Also, I just hated coming in to work on Monday morning and being greeted with annoyance that I hadn't read my boss' email from Sunday night. I wasn't too keen on the look of disbelief when I asked for two whole weeks off, either.
Funny enough being a European citizen working in California seems like the best of both worlds. You'd get very high pay but still have a fallback in the event of illness, injury, unemployment, etc. And, of course, some of us have partners who don't work in tech and the salary disparities there are much smaller (or in some cases, favour Europe - at least the northern bits)